WIP
This commit is contained in:
1 parent
38413f2452
commit
8e203fac5e
1 file changed
+11
@@ -28,6 +28,17 @@
|
|||||||
// TODO: Integrate default case with dynamic polymorphisme
|
// TODO: Integrate default case with dynamic polymorphisme
|
||||||
// TODO: WIP...
|
// TODO: WIP...
|
||||||
|
|
||||||
|
|
||||||
|
/* Define global oplist
|
||||||
|
M_OPLIST_GLOBAL_mpr_t
|
||||||
|
Register using this header.
|
||||||
|
==> Save a copy of the type as M_CLASS_TYPE_N
|
||||||
|
==> Save a copy of the oplist as M_CLASS_OPLIST_N But HOW!!!!
|
||||||
|
Derive & use.
|
||||||
|
No need of virtual table, just use the oplist mechanism.
|
||||||
|
A protection mechanims is needed to protect the expansion with the right types...
|
||||||
|
Maybe simpler ? */
|
||||||
|
|
||||||
// Global counter
|
// Global counter
|
||||||
#define M_CLASS_CPT 0
|
#define M_CLASS_CPT 0
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user