unread
Hello,
I want you let know that sizeof() is not strlen().
It is in macro INIT_CLASS_ENTRY.
When I do this:
char* name = "className";
INIT_CLASS_ENTRY(class_entry, name, function_entry);
Then class_entry.name_length is 3 (pointer - 1).
It works well when I use:
char name[] = "className";
And I have dynamicaly created class types and can't use char[].
With regards