1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00

fix for routingVars & varTypes declaration

This commit is contained in:
tg(x) 2011-05-23 02:03:34 +02:00
parent d40fa8c398
commit f2f5302c5a
2 changed files with 10 additions and 4 deletions

View file

@ -120,9 +120,14 @@ unsigned int psyc_version ()
return 1;
}
/// Routing vars in alphabetical order.
extern const psycString PSYC_routingVars[];
extern const psycMatchVar PSYC_varTypes[];
/// Routing variables in alphabetical order.
extern const psycString psyc_routingVars[];
// Variable types in alphabetical order.
extern const psycMatchVar psyc_varTypes[];
extern const size_t psyc_routingVarsNum;
extern const size_t psyc_varTypesNum;
/**
* Is this a routing variable name?

View file

@ -1,8 +1,8 @@
#include "lib.h"
#include <stdint.h>
/// Routing variables in alphabetical order.
/// Routing variables in alphabetical order.
const psycString psyc_routingVars[] =
{
PSYC_C2STR("_amount_fragments"),
@ -26,6 +26,7 @@ const psycString psyc_routingVars[] =
//PSYC_C2STR("_using_modules"), // older PSYC
};
// Variable types in alphabetical order.
const psycMatchVar psyc_varTypes[] =
{
{PSYC_C2STR("_amount"), PSYC_TYPE_AMOUNT},