-
- Downloads
There was a problem fetching the pipeline summary.
Use a state struct for keeping track of counts
This allows us to define a custom mark/free function using Data_Wrap_Struct. This in turn makes the code a bit more robust by marking objects that are counted so they're not garbage collected by accident.
parent
428f81d1
No related branches found
No related tags found
Pipeline #
Showing
- ext/liballocations/liballocations.c 26 additions, 19 deletionsext/liballocations/liballocations.c
- ext/liballocations/liballocations.h 2 additions, 0 deletionsext/liballocations/liballocations.h
- ext/liballocations/state.c 65 additions, 0 deletionsext/liballocations/state.c
- ext/liballocations/state.h 17 additions, 0 deletionsext/liballocations/state.h
ext/liballocations/state.c
0 → 100644
ext/liballocations/state.h
0 → 100644
Please register or sign in to comment