Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-02-09 23:06:00 +0000
committerStijn Buys <ingar@osirion.org>2008-02-09 23:06:00 +0000
commit31959bc355c471c573828bf63932850e46c4b5bc (patch)
treecc473901e88926e36c89775a7fc97a51da948498 /src/core/func.h
parentd281384f727583b39b8e97ffea58b278ecc8dd47 (diff)
more entities
Diffstat (limited to 'src/core/func.h')
-rw-r--r--src/core/func.h5
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);