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:
parent
65f5942f9d
commit
ebc674f403
29 changed files with 495 additions and 230 deletions
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include <Mw/MachDep.h>
|
||||
#include <Mw/TypeDefs.h>
|
||||
#include <Mw/Core.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
@ -25,7 +26,11 @@ MWDECL MwClass MwMenuClass;
|
|||
* %param name Menu name
|
||||
* %return Menu
|
||||
*/
|
||||
MWDECL MwMenu MwMenuAdd(MwWidget handle, MwMenu menu, const char* name);
|
||||
MwInline MwMenu MwMenuAdd(MwWidget handle, MwMenu menu, const char* name) {
|
||||
MwMenu out;
|
||||
MwWidgetExecute(handle, "mwMenuAdd", &out, menu, name);
|
||||
return out;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue