| 203 | } |
| 204 | |
| 205 | int context_register_str(enum osips_context type, context_destroy_f f) |
| 206 | { |
| 207 | context_sizes[type] += sizeof(str); |
| 208 | type_offsets[type][CONTEXT_PTR_TYPE] += sizeof(str); |
| 209 | register_context_destroy(f, type, CONTEXT_STR_TYPE); |
| 210 | |
| 211 | return type_sizes[type][CONTEXT_STR_TYPE]++; |
| 212 | } |
| 213 | |
| 214 | int context_register_ptr(enum osips_context type, context_destroy_f f) |
| 215 | { |
no test coverage detected