mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
used by psyclpc's configure script
This commit is contained in:
parent
bfceeb59c8
commit
d1d4e3c516
2 changed files with 4 additions and 0 deletions
|
@ -141,6 +141,8 @@ typedef struct
|
||||||
PSYC_PacketFlag flag;
|
PSYC_PacketFlag flag;
|
||||||
} PSYC_Packet;
|
} PSYC_Packet;
|
||||||
|
|
||||||
|
inline int PSYC_version();
|
||||||
|
|
||||||
inline PSYC_Modifier PSYC_newModifier(char oper, PSYC_String *name, PSYC_String *value,
|
inline PSYC_Modifier PSYC_newModifier(char oper, PSYC_String *name, PSYC_String *value,
|
||||||
PSYC_ModifierFlag flag);
|
PSYC_ModifierFlag flag);
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
int PSYC_version() { return 1; }
|
||||||
|
|
||||||
inline PSYC_String PSYC_newString(const char *str, size_t strlen)
|
inline PSYC_String PSYC_newString(const char *str, size_t strlen)
|
||||||
{
|
{
|
||||||
PSYC_String s = {strlen, str};
|
PSYC_String s = {strlen, str};
|
||||||
|
|
Loading…
Reference in a new issue