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};