summaryrefslogtreecommitdiffhomepage
path: root/lib.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-09-11 22:03:11 +0200
committerJo-Philipp Wich <jo@mein.io>2020-09-11 22:11:16 +0200
commit753d0585da7f899cfd954a2ea439d2df8521d37e (patch)
tree59a458edc87688cd55f3b096c0c74d848970f24d /lib.c
parent9d4381bd2ea81f43e56a9fa8f58bb66961e67940 (diff)
lib: expose ut_new_double() and ut_cast_number() in the module interface
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'lib.c')
-rw-r--r--lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib.c b/lib.c
index 64ac653..c2764f3 100644
--- a/lib.c
+++ b/lib.c
@@ -1761,7 +1761,9 @@ const struct ut_ops ut = {
.set_type = ut_set_extended_type,
.get_type = ut_get_extended_type,
.new_object = ut_new_object,
+ .new_double = ut_new_double,
.invoke = ut_invoke,
+ .cast_number = ut_cast_number,
};
static const struct { const char *name; ut_c_fn *func; } functions[] = {