Revision 93148aa5 include/qemu/object.h
b/include/qemu/object.h | ||
---|---|---|
124 | 124 |
* |
125 | 125 |
* Once all of the parent classes have been initialized, #TypeInfo::class_init |
126 | 126 |
* is called to let the class being instantiated provide default initialize for |
127 |
* it's virtual functions. Here is how the above example might be modified
|
|
127 |
* its virtual functions. Here is how the above example might be modified |
|
128 | 128 |
* to introduce an overridden virtual function: |
129 | 129 |
* |
130 | 130 |
* <example> |
... | ... | |
527 | 527 |
* type_register: |
528 | 528 |
* @info: The #TypeInfo of the new type |
529 | 529 |
* |
530 |
* Unlike type_register_static(), this call does not require @info or it's
|
|
530 |
* Unlike type_register_static(), this call does not require @info or its |
|
531 | 531 |
* string members to continue to exist after the call returns. |
532 | 532 |
* |
533 | 533 |
* Returns: 0 on failure, the new #Type on success. |
Also available in: Unified diff