Change naming convention for wrapped ctors and dtor

Use Foo_{new,delete}() instead of {new,delete}_Foo() to ensure that all
methods of the class Foo start with the corresponding prefix.
This commit is contained in:
Vadim Zeitlin 2016-04-22 19:20:20 +02:00
commit bda731cd8f
23 changed files with 95 additions and 87 deletions

View file

@ -3,11 +3,11 @@
int main(int argc, const char *argv[])
{
MyClass *mc = new_MyClass();
MyClass *mc = MyClass_new();
assert(MyClass_someMethod(mc) == 42);
delete_MyClass(mc);
MyClass_delete(mc);
return 0;
}