Comments refactor.

This commit is contained in:
rafagafe 2016-10-13 00:19:55 +02:00
parent fb3ef655bd
commit cd6b0a0749
2 changed files with 80 additions and 81 deletions

View File

@ -161,9 +161,9 @@ static char* _textValue( char* ptr, json_t* property ) {
}
/** Compare two strings until get the null character in the second one.
* @param ptr
* @param str
* @retval
* @param ptr sub string
* @param str main string
* @retval Pointer to next chraracter.
* @retval Null pointer if any error occur. */
static char* _checkStr( char* ptr, char const* str ) {
while( *str )

View File

@ -47,8 +47,8 @@ typedef struct json_s {
/** Parse a string to get a json.
* @param str String pointer with a JSON object. It will be modified.
* @param mem
* @param qty
* @param mem Array of json properties to allocate.
* @param qty Number of elementes of mem.
* @retval Null pointer if any was wrong in the parse process.
* @retval If the parser process was successfully a valid handler of a json.
* This property is always unnamed and its type is JSON_OBJ. */
@ -122,4 +122,3 @@ static inline int64_t json_getInteger( json_t const* property ) {
#endif
#endif /* _TINY_JSON_H_ */