| 1 | #include "ClassName.h" |
| 2 | #include <stdlib.h> |
| 3 | #include <memory.h> |
| 4 | |
| 5 | //static local variables |
| 6 | typedef struct _ClassName |
| 7 | { |
| 8 | int placeHolderForHiddenStructElements; |
| 9 | }; |
| 10 | |
| 11 | ClassName* ClassName_Create(void) |
| 12 | { |
| 13 | ClassName* self = malloc(sizeof(ClassName)); |
| 14 | memset(self, 0, sizeof(ClassName)); |
| 15 | return self; |
| 16 | } |
| 17 | |
| 18 | void ClassName_Destroy(ClassName* self) |
| 19 | { |
| 20 | free(self); |
| 21 | } |
| 22 | |
| 23 |