diff options
Diffstat (limited to 'lib/internal.h')
-rw-r--r-- | lib/internal.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/internal.h b/lib/internal.h index d0a9848..790b4ed 100644 --- a/lib/internal.h +++ b/lib/internal.h @@ -10,6 +10,12 @@ */ struct _bmItem { /** + * Userdata pointer. + * This pointer will be passed around with the item untouched. + */ + void *userdata; + + /** * Primary text shown on item as null terminated C "string". * Matching will be done against this text as well. */ @@ -60,6 +66,12 @@ struct _bmItemList { */ struct _bmMenu { /** + * Userdata pointer. + * This pointer will be passed around with the menu untouched. + */ + void *userdata; + + /** * Underlying renderer access. */ struct _bmRenderApi renderApi; |