Browse Source

Fix the definition of the error_description() macro in bits.h now that json_tokener_errors[] is not exported.

tags/json-c-0.13-20171207
Eric Haszlakiewicz 11 years ago
parent
commit
1da0599e0e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bits.h

+ 1
- 1
bits.h View File

@@ -22,7 +22,7 @@

#define hexdigit(x) (((x) <= '9') ? (x) - '0' : ((x) & 7) + 9)
#define error_ptr(error) ((void*)error)
#define error_description(error) (json_tokener_errors[error])
#define error_description(error) (json_tokener_get_error(error))
#define is_error(ptr) (ptr == NULL)

#endif

Loading…
Cancel
Save