summaryrefslogtreecommitdiffstats
path: root/src/lilv_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lilv_internal.h')
-rw-r--r--src/lilv_internal.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/src/lilv_internal.h b/src/lilv_internal.h
index 51c3863..f23b7a2 100644
--- a/src/lilv_internal.h
+++ b/src/lilv_internal.h
@@ -201,19 +201,14 @@ typedef enum {
} LilvNodeType;
struct LilvNodeImpl {
- LilvWorld* world;
- char* str_val; ///< always present
+ LilvWorld* world;
+ SordNode* node;
+ LilvNodeType type;
union {
- int int_val;
- float float_val;
- bool bool_val;
- SordNode* uri_val;
- struct {
- void* buf;
- size_t size;
- } blob_val;
+ int int_val;
+ float float_val;
+ bool bool_val;
} val;
- LilvNodeType type;
};
struct LilvScalePointImpl {