summaryrefslogtreecommitdiff
path: root/src/struct.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2015-01-17 14:38:11 -0500
committerAdrian Thurston <thurston@complang.org>2015-01-17 14:38:11 -0500
commit62ac1f337497046fa0f46a41eaee36e23c0e8fcc (patch)
treec333aa566fa4ffce2d2f6896a2c447232b402e8a /src/struct.h
parentffe2843d882b5f6fc606a6ee09f15a3196840c7b (diff)
downloadcolm-62ac1f337497046fa0f46a41eaee36e23c0e8fcc.tar.gz
more of map implemented: can now traverse map elements
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 7ff8256b..086e479e 100644
--- a/src/struct.h
+++ b/src/struct.h
@@ -143,6 +143,8 @@ long colm_list_length( List *list );
Map *colm_map_new( struct colm_program *prg );
struct colm_struct *colm_map_el_get( struct colm_program *prg,
MapEl *mapEl, Word genId, Word field );
+struct colm_struct *colm_map_get( struct colm_program *prg, Map *map,
+ Word genId, Word field );
#define STRUCT_INBUILT_ID -1