String structName = "anno_init", anno = "init";
newCode.add("\t" + STRUCT_NEW_DECLARE_DEFINE(ANNO_INIT, structName));
newCode.add("\t"
- + ASSIGN_TO_PTR(structName, "init_func", "__SPEC_INIT__"));
+ + ASSIGN_TO_PTR(structName, "init_func", "(void*) __SPEC_INIT__"));
newCode.add("\t"
- + ASSIGN_TO_PTR(structName, "cleanup_func", "__SPEC_CLEANUP__"));
+ + ASSIGN_TO_PTR(structName, "cleanup_func", "(void*) __SPEC_CLEANUP__"));
newCode.add("\t"
+ ASSIGN_TO_PTR(structName, "func_table", "func_ptr_table"));
newCode.add("\t"