|
@@ -15,15 +15,17 @@
|
|
|
function.
|
|
|
|
|
|
- Subclasses do not provide a dispose function, instead the base class' dispose function should be used, which will delegate to
|
|
|
- a dispose function.
|
|
|
+ a dispose function pointer.
|
|
|
|
|
|
- - Classes not designed for inheritance cannot be extended. They may use an internal subclass to hide private data and don't
|
|
|
+ - Classes not designed for inheritance cannot be extended because they may use an internal subclass to hide private data and don't
|
|
|
expose function pointers.
|
|
|
|
|
|
- - The public API hides implementation details such init/deinit functions. An internal API is exposed in extension.h to allow
|
|
|
+ - The public API hides implementation details, such as init/deinit functions. An internal API is exposed by extension.h to allow
|
|
|
classes to be extended. Internal functions begin with underscore (_).
|
|
|
|
|
|
- - OOP in C tends to lose type safety. Macros are provided in extension.h to give context for why a cast is being done.
|
|
|
+ - OOP in C tends to lose type safety. Macros for casting are provided in extension.h to give context for why a cast is being done.
|
|
|
+
|
|
|
+ - If SPINE_SHORT_NAMES is defined, the "sp" prefix for all class names is optional.
|
|
|
*/
|
|
|
|
|
|
#ifndef SPINE_EXTENSION_H_
|