- Fix comment to reflect current code.
This commit was SVN r20479.
Этот коммит содержится в:
родитель
5bfd1f3fd0
Коммит
64aa384745
@ -35,13 +35,13 @@
|
|||||||
* In a interface (.h) file, define the class. The first element
|
* In a interface (.h) file, define the class. The first element
|
||||||
* should always be the parent class, for example
|
* should always be the parent class, for example
|
||||||
* @code
|
* @code
|
||||||
* typedef struct sally_t sally_t;
|
|
||||||
* struct sally_t
|
* struct sally_t
|
||||||
* {
|
* {
|
||||||
* parent_t parent;
|
* parent_t parent;
|
||||||
* void *first_member;
|
* void *first_member;
|
||||||
* ...
|
* ...
|
||||||
* };
|
* };
|
||||||
|
* typedef struct sally_t sally_t;
|
||||||
*
|
*
|
||||||
* OBJ_CLASS_DECLARATION(sally_t);
|
* OBJ_CLASS_DECLARATION(sally_t);
|
||||||
* @endcode
|
* @endcode
|
||||||
@ -59,7 +59,8 @@
|
|||||||
* OBJ_CLASS(parent_t), // pointer to parent_t_class
|
* OBJ_CLASS(parent_t), // pointer to parent_t_class
|
||||||
* sally_construct,
|
* sally_construct,
|
||||||
* sally_destruct,
|
* sally_destruct,
|
||||||
* 0, 0, NULL, NULL
|
* 0, 0, NULL, NULL,
|
||||||
|
* sizeof ("sally_t")
|
||||||
* };
|
* };
|
||||||
* @endcode
|
* @endcode
|
||||||
* This variable should be declared in the interface (.h) file using
|
* This variable should be declared in the interface (.h) file using
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user