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:
parent
d40fa8c398
commit
f2f5302c5a
2 changed files with 10 additions and 4 deletions
|
@ -120,9 +120,14 @@ unsigned int psyc_version ()
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Routing vars in alphabetical order.
|
/// Routing variables in alphabetical order.
|
||||||
extern const psycString PSYC_routingVars[];
|
extern const psycString psyc_routingVars[];
|
||||||
extern const psycMatchVar PSYC_varTypes[];
|
|
||||||
|
// 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?
|
* Is this a routing variable name?
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#include "lib.h"
|
#include "lib.h"
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
/// Routing variables in alphabetical order.
|
|
||||||
|
|
||||||
|
/// Routing variables in alphabetical order.
|
||||||
const psycString psyc_routingVars[] =
|
const psycString psyc_routingVars[] =
|
||||||
{
|
{
|
||||||
PSYC_C2STR("_amount_fragments"),
|
PSYC_C2STR("_amount_fragments"),
|
||||||
|
@ -26,6 +26,7 @@ const psycString psyc_routingVars[] =
|
||||||
//PSYC_C2STR("_using_modules"), // older PSYC
|
//PSYC_C2STR("_using_modules"), // older PSYC
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Variable types in alphabetical order.
|
||||||
const psycMatchVar psyc_varTypes[] =
|
const psycMatchVar psyc_varTypes[] =
|
||||||
{
|
{
|
||||||
{PSYC_C2STR("_amount"), PSYC_TYPE_AMOUNT},
|
{PSYC_C2STR("_amount"), PSYC_TYPE_AMOUNT},
|
||||||
|
|
Loading…
Reference in a new issue