mirror of
https://github.com/utkumaden/libmx.git
synced 2026-02-06 13:22:19 +01:00
Add const to trait vtable.
This commit is contained in:
@@ -113,7 +113,7 @@
|
||||
* @brief Define the fat pointer structure.
|
||||
* @param base Base pointer type
|
||||
*/
|
||||
#define fatptr_define(trait) fatptr_t(trait) { void *ptr; trait *traits; }
|
||||
#define fatptr_define(trait) fatptr_t(trait) { void *ptr; const trait *traits; }
|
||||
|
||||
/**
|
||||
* Fat pointer vtable for object #type for traits #trait
|
||||
|
||||
Reference in New Issue
Block a user