diff options
Diffstat (limited to 'raul')
-rw-r--r-- | raul/Atom.hpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/raul/Atom.hpp b/raul/Atom.hpp index 27ee1df..c2a2c65 100644 --- a/raul/Atom.hpp +++ b/raul/Atom.hpp @@ -157,8 +157,9 @@ public: , Float(2) , Bool(3) , URI(4) - , String(5) - , Dict(6) + , URID(5) + , String(6) + , Dict(7) {} Atom make() { return Atom(); } @@ -169,6 +170,8 @@ public: return Atom(sizeof(int32_t), Bool, &iv); } + Atom make_urid(int32_t v) { return Atom(sizeof(int32_t), URID, &v); } + Atom alloc(uint32_t size, uint32_t type, const void* val) { return Atom(size, type, val); } @@ -200,6 +203,7 @@ public: Atom::TypeID Float; Atom::TypeID Bool; Atom::TypeID URI; + Atom::TypeID URID; Atom::TypeID String; Atom::TypeID Dict; }; |