used by psyclpc's configure script

This commit is contained in:
psyc://psyced.org/~lynX 2011-04-25 22:02:24 +02:00
parent 7a0dd32483
commit 62814badae
2 changed files with 4 additions and 0 deletions

View File

@ -141,6 +141,8 @@ typedef struct
PSYC_PacketFlag flag;
} PSYC_Packet;
inline int PSYC_version();
inline PSYC_Modifier PSYC_newModifier(char oper, PSYC_String *name, PSYC_String *value,
PSYC_ModifierFlag flag);

View File

@ -3,6 +3,8 @@
#include <math.h>
int PSYC_version() { return 1; }
inline PSYC_String PSYC_newString(const char *str, size_t strlen)
{
PSYC_String s = {strlen, str};