summaryrefslogtreecommitdiff
path: root/plugins/Variables/src/parse_variables.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Variables/src/parse_variables.cpp')
-rw-r--r--plugins/Variables/src/parse_variables.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/plugins/Variables/src/parse_variables.cpp b/plugins/Variables/src/parse_variables.cpp
index 432d4eb0fd..d8e7b5814f 100644
--- a/plugins/Variables/src/parse_variables.cpp
+++ b/plugins/Variables/src/parse_variables.cpp
@@ -126,13 +126,12 @@ static TCHAR *parseGet(ARGUMENTSINFO *ai)
return searchVariableRegister(ai->targv[1]);
}
-int registerVariablesTokens()
+void registerVariablesTokens()
{
- registerIntToken(_T(GET), parseGet, TRF_FUNCTION, LPGEN("Variables")"\t(x)\t"LPGEN("variable set by put(s) with name x"));
- registerIntToken(_T(PUT), parsePut, TRF_FUNCTION, LPGEN("Variables")"\t(x,y)\t"LPGEN("x, and stores y as variable named x"));//TRF_UNPARSEDARGS);
- registerIntToken(_T(PUTS), parsePuts, TRF_FUNCTION, LPGEN("Variables")"\t(x,y)\t"LPGEN("only stores y as variables x"));//TRF_UNPARSEDARGS);
+ registerIntToken(GET, parseGet, TRF_FUNCTION, LPGEN("Variables")"\t(x)\t"LPGEN("variable set by put(s) with name x"));
+ registerIntToken(PUT, parsePut, TRF_FUNCTION, LPGEN("Variables")"\t(x,y)\t"LPGEN("x, and stores y as variable named x"));//TRF_UNPARSEDARGS);
+ registerIntToken(PUTS, parsePuts, TRF_FUNCTION, LPGEN("Variables")"\t(x,y)\t"LPGEN("only stores y as variables x"));//TRF_UNPARSEDARGS);
InitializeCriticalSection(&csVarRegister);
- return 0;
}
void unregisterVariablesTokens()