From 62814badaecad9db5332f4d6b7468e923749645d Mon Sep 17 00:00:00 2001 From: "psyc://psyced.org/~lynX" <@> Date: Mon, 25 Apr 2011 22:02:24 +0200 Subject: [PATCH] used by psyclpc's configure script --- include/psyc.h | 2 ++ src/psyc.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/include/psyc.h b/include/psyc.h index 2243e40..7235696 100644 --- a/include/psyc.h +++ b/include/psyc.h @@ -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); diff --git a/src/psyc.c b/src/psyc.c index de6bd02..8317ea6 100644 --- a/src/psyc.c +++ b/src/psyc.c @@ -3,6 +3,8 @@ #include +int PSYC_version() { return 1; } + inline PSYC_String PSYC_newString(const char *str, size_t strlen) { PSYC_String s = {strlen, str};