mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
bench: added test tools, updated results; added inline option for parse & render
This commit is contained in:
parent
1edd326f1f
commit
1cc5499777
15 changed files with 438 additions and 131 deletions
|
@ -428,6 +428,9 @@ const char * psyc_getParseRemainingBuffer (psycParseState *state)
|
|||
* @param value In case of a modifier it will point to the value,
|
||||
* in case of the body it will point to the data.
|
||||
*/
|
||||
#ifdef __INLINE_PSYC_PARSE
|
||||
static inline
|
||||
#endif
|
||||
psycParseRC psyc_parse (psycParseState *state, char *oper,
|
||||
psycString *name, psycString *value);
|
||||
|
||||
|
@ -443,6 +446,9 @@ psycParseRC psyc_parse (psycParseState *state, char *oper,
|
|||
* @param value Contains the list to be parsed.
|
||||
* @param elem It will point to the next element in the list.
|
||||
*/
|
||||
#ifdef __INLINE_PSYC_PARSE
|
||||
static inline
|
||||
#endif
|
||||
psycParseListRC psyc_parseList (psycParseListState *state, psycString *elem);
|
||||
|
||||
/** @} */ // end of parse group
|
||||
|
|
|
@ -58,11 +58,17 @@ typedef enum
|
|||
* @see psyc_newRawPacket2
|
||||
* @see psyc_setPacketLength
|
||||
*/
|
||||
#ifdef __INLINE_PSYC_RENDER
|
||||
static inline
|
||||
#endif
|
||||
psycRenderRC psyc_render (psycPacket *packet, char *buffer, size_t buflen);
|
||||
|
||||
/**
|
||||
* Render a PSYC list into a buffer.
|
||||
*/
|
||||
#ifdef __INLINE_PSYC_RENDER
|
||||
static inline
|
||||
#endif
|
||||
psycRenderListRC psyc_renderList (psycList *list, char *buffer, size_t buflen);
|
||||
|
||||
/** @} */ // end of render group
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue