mirror of
https://github.com/utkumaden/libmx.git
synced 2025-01-23 05:56:33 +01:00
Add const to trait vtable.
This commit is contained in:
parent
1bb9a9cff7
commit
66eb6d8f68
@ -113,7 +113,7 @@
|
|||||||
* @brief Define the fat pointer structure.
|
* @brief Define the fat pointer structure.
|
||||||
* @param base Base pointer type
|
* @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
|
* Fat pointer vtable for object #type for traits #trait
|
||||||
|
Loading…
Reference in New Issue
Block a user