summaryrefslogtreecommitdiff
path: root/include/extensible.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/extensible.h')
-rw-r--r--include/extensible.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/extensible.h b/include/extensible.h
index a0544bba1..0e1afdbdf 100644
--- a/include/extensible.h
+++ b/include/extensible.h
@@ -184,6 +184,7 @@ class CoreExport LocalIntExt : public LocalExtItem
std::string serialize(SerializeFormat format, const Extensible* container, void* item) const;
intptr_t get(const Extensible* container) const;
intptr_t set(Extensible* container, intptr_t value);
+ void unset(Extensible* container) { set(container, 0); }
void free(void* item);
};