diff options
author | Adrian Thurston <thurston@complang.org> | 2014-12-25 17:52:42 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2014-12-25 17:52:42 -0500 |
commit | c2049c9de73d3416a1d0f3a51f8fa04be65be6c8 (patch) | |
tree | d94fbc6d385ab0e2781085c2ad712ec040b020b6 /src/struct.c | |
parent | e9a6e75710c42ab1a80c3cf54c5131e2bc4329e1 (diff) | |
download | colm-c2049c9de73d3416a1d0f3a51f8fa04be65be6c8.tar.gz |
some function renaming, global is now struct type
Diffstat (limited to 'src/struct.c')
-rw-r--r-- | src/struct.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/struct.c b/src/struct.c index 5b37cb27..04c785cb 100644 --- a/src/struct.c +++ b/src/struct.c @@ -4,6 +4,11 @@ #include <stdlib.h> #include <string.h> +struct colm_tree *colm_get_global( Program *prg, long pos ) +{ + return colm_struct_val( prg->global, pos ); +} + struct colm_struct *colm_new_struct( Program *prg, int id ) { int structSize = prg->rtd->selInfo[id].size; |