diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-09-08 22:57:36 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-09-08 22:57:36 +0200 |
commit | da21758e6c61c52842a5d874029cff5b12941471 (patch) | |
tree | 2b93ef92172f8dd0800091cf78b371c730cc22f7 | |
parent | c77a5bebc9ae8df17b851b6256cb42fa5d763dba (diff) |
lib: make type() report extended types as "ressource"
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | lib.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -909,6 +909,9 @@ ut_type(struct ut_state *s, uint32_t off, struct json_object *args) case T_FUNC: return json_object_new_string("function"); + case T_RESSOURCE: + return json_object_new_string("ressource"); + default: switch (json_object_get_type(v)) { case json_type_object: |