Skip to content

Commit

Permalink
Initial complete GC support for maps for non-GLib hash table branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Bandur committed Apr 6, 2017
1 parent 923dbf3 commit 84167d6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion c/vdmclib/src/main/VdmGC.c
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,12 @@ TVP vdmCloneGC(TVP x, TVP *from)
}
#ifndef NO_MAPS
case VDM_MAP:
//todo
{
UNWRAP_MAP(m, x);
struct Map *map = cloneMap(m);
tmp->value.ptr = map;
break;
}
#endif
#ifndef NO_PRODUCTS
case VDM_PRODUCT:
Expand Down

0 comments on commit 84167d6

Please sign in to comment.