mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-08 10:23:27 +00:00
merge generic_func_idea from git
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@433 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -91,6 +91,22 @@ MWDECL MwWidget MwVaListCreateWidget(MwClass widget_class, const char* name, MwW
|
||||
*/
|
||||
MWDECL void MwDestroyWidget(MwWidget handle);
|
||||
|
||||
/*!
|
||||
* %brief Executes a method specific to the widget (varadic version).
|
||||
* %warning Prefer using corresponding functions for better code clarity and type safety.
|
||||
* %param handle Widget
|
||||
* %param ... Widget function arguments.
|
||||
*/
|
||||
MWDECL void MwWidgetExecute(MwWidget handle, const char* func_name, void* out, ...);
|
||||
|
||||
/*!
|
||||
* %brief Executes a method specific to the widget (va_list version).
|
||||
* %warning Prefer using corresponding functions for better code clarity and type safety.
|
||||
* %param handle Widget
|
||||
* %param va Widget function arguments.
|
||||
*/
|
||||
MWDECL void MwVaWidgetExecute(MwWidget handle, const char* func_name, void* out, va_list va);
|
||||
|
||||
/*!
|
||||
* %brief Runs the main loop
|
||||
* %param handle Widget
|
||||
|
||||
Reference in New Issue
Block a user