diff options
Diffstat (limited to 'object.h')
-rw-r--r-- | object.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -53,7 +53,8 @@ struct object { }; extern const char *typename(unsigned int type); -extern int type_from_string(const char *str); +extern int type_from_string_gently(const char *str, ssize_t, int gentle); +#define type_from_string(str) type_from_string_gently(str, -1, 0) /* * Return the current number of buckets in the object hashmap. |