diff options
author | Adrian Thurston <thurston@complang.org> | 2014-12-25 16:02:14 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2014-12-25 16:02:14 -0500 |
commit | e9a6e75710c42ab1a80c3cf54c5131e2bc4329e1 (patch) | |
tree | 1037ec581e8d9e88b46a3dd26812512cdc44bb48 /src/struct.h | |
parent | 4bd915e48b6b6278ed8c4b7be95781535f2ce10a (diff) | |
download | colm-e9a6e75710c42ab1a80c3cf54c5131e2bc4329e1.tar.gz |
converted the global object to a struct
Diffstat (limited to 'src/struct.h')
-rw-r--r-- | src/struct.h | 2 |
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 |