summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2006-09-18 09:29:59 +0000
committerAkira TAGOH <akira@tagoh.org>2006-09-18 09:29:59 +0000
commit77df0651a2a8c910512f6ab558c0434c30671e52 (patch)
treef06d9e9ece9eca8fccc354817ecfffadc021b107 /src
parent7421b0afc1af524bef08d041e95120ee48dc3e59 (diff)
* hieroglyph/vm.c (_hg_vm_set_error): replace *POINTER to *OPERATOR.
(_hg_vm_set_error_from_file): likewise. (hg_vm_init): makes a VM memory pool to be a local pool. * hieroglyph/scanner.c (_hg_scanner_set_error): likewise. * plugins/test/test-main.c (REMOVE_OP): replace *POINTER to *OPERATOR. * plugins/debug/debug-main.c (REMOVE_OP): likewise. * plugins/libedit/libedit-main.c (REMOVE_OP): likewise. * hieroglyph/operator.[ch]: likewise. * hieroglyph/hgvaluenode.[ch]: use separate structure instead of union. (_hg_value_node_register_type): new function. (hg_value_node_init): new function. (hg_value_node_finalize): new function. (hg_value_node_register_type): new function. (hg_value_node_get_type_name): new function. * src/hgspy.c (_hgspy_vm_thread): likewise.
Diffstat (limited to 'src')
-rw-r--r--src/hgspy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hgspy.c b/src/hgspy.c
index 5bc5be5..1d90ba9 100644
--- a/src/hgspy.c
+++ b/src/hgspy.c
@@ -329,7 +329,7 @@ _hgspy_vm_thread(gpointer data)
return NULL;
}
key = hg_vm_get_name_node(spy->vm, "...statementedit");
- HG_VALUE_MAKE_POINTER (val, op);
+ HG_VALUE_MAKE_OPERATOR (val, op);
if (val == NULL) {
hg_vm_set_error(spy->vm, key, VM_e_VMerror, FALSE);
} else {