Types: Add Lth_OptArgs macro
parent
44c32b82b0
commit
caf15b2866
|
@ -14,6 +14,7 @@
|
||||||
#define lithos3__Lth_types_h
|
#define lithos3__Lth_types_h
|
||||||
|
|
||||||
#define Lth_ScriptCall [[__call("ScriptS")]]
|
#define Lth_ScriptCall [[__call("ScriptS")]]
|
||||||
|
#define Lth_OptArgs(n) [[__optional_args(n)]]
|
||||||
|
|
||||||
#define Lth_Inherits(name) [[__anonymous]] name _super
|
#define Lth_Inherits(name) [[__anonymous]] name _super
|
||||||
#define Lth_Mixin(name) [[__anonymous]] name _##name
|
#define Lth_Mixin(name) [[__anonymous]] name _##name
|
||||||
|
|
|
@ -33,8 +33,7 @@ typedef struct Lth_Window
|
||||||
|
|
||||||
// Extern Functions ----------------------------------------------------------|
|
// Extern Functions ----------------------------------------------------------|
|
||||||
|
|
||||||
[[__optional_args(2)]]
|
Lth_OptArgs(2) Lth_Window *Lth_WindowNew(char const *title, int x, int y, int w, int h);
|
||||||
Lth_Window *Lth_WindowNew(char const *title, int x, int y, int w, int h);
|
|
||||||
void Lth_WindowSetTitle(Lth_Window *ctrl, char const *title);
|
void Lth_WindowSetTitle(Lth_Window *ctrl, char const *title);
|
||||||
|
|
||||||
#endif//lithos3__Lth_window_h
|
#endif//lithos3__Lth_window_h
|
||||||
|
|
Loading…
Reference in New Issue