diff options
author | Adrian Thurston <thurston@complang.org> | 2015-01-17 14:38:11 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2015-01-17 14:38:11 -0500 |
commit | 62ac1f337497046fa0f46a41eaee36e23c0e8fcc (patch) | |
tree | c333aa566fa4ffce2d2f6896a2c447232b402e8a /src/struct.h | |
parent | ffe2843d882b5f6fc606a6ee09f15a3196840c7b (diff) | |
download | colm-62ac1f337497046fa0f46a41eaee36e23c0e8fcc.tar.gz |
more of map implemented: can now traverse map elements
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 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 |