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

Merge commit 'origin'

This commit is contained in:
psyc://psyced.org/~lynX 2011-05-23 09:15:07 +02:00
commit eb5fe29115
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},