summaryrefslogtreecommitdiff
path: root/src/struct.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2014-12-25 16:02:14 -0500
committerAdrian Thurston <thurston@complang.org>2014-12-25 16:02:14 -0500
commite9a6e75710c42ab1a80c3cf54c5131e2bc4329e1 (patch)
tree1037ec581e8d9e88b46a3dd26812512cdc44bb48 /src/struct.h
parent4bd915e48b6b6278ed8c4b7be95781535f2ce10a (diff)
downloadcolm-e9a6e75710c42ab1a80c3cf54c5131e2bc4329e1.tar.gz
converted the global object to a struct
Diffstat (limited to 'src/struct.h')
-rw-r--r--src/struct.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/struct.h b/src/struct.h
index 85bbe2d1..1f5d87b6 100644
--- a/src/struct.h
+++ b/src/struct.h
@@ -4,5 +4,7 @@
((struct colm_tree**)(((struct colm_struct*)obj)+1))[field]
struct colm_struct *colm_new_struct( struct colm_program *prg, int id );
+void colm_delete_struct( struct colm_program *prg, struct colm_tree **sp,
+ struct colm_struct *el );
#endif