diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-09 23:06:00 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-09 23:06:00 +0000 |
commit | 31959bc355c471c573828bf63932850e46c4b5bc (patch) | |
tree | cc473901e88926e36c89775a7fc97a51da948498 /src/core/func.h | |
parent | d281384f727583b39b8e97ffea58b278ecc8dd47 (diff) |
more entities
Diffstat (limited to 'src/core/func.h')
-rw-r--r-- | src/core/func.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/func.h b/src/core/func.h index 3a58295..ae158b5 100644 --- a/src/core/func.h +++ b/src/core/func.h @@ -17,10 +17,11 @@ namespace core { /// function pointer type -typedef void (* Func)(std::stringstream &args); +typedef void(* Func)(std::stringstream &args); /// the function registry -namespace func { +namespace func +{ /// add a function to the registry void add(const char *functionname, Func functionptr); |