1
0
Fork 0

Types: Add Lth_OptArgs macro

master
Marrub 2016-10-23 21:24:40 -04:00
parent 44c32b82b0
commit caf15b2866
2 changed files with 2 additions and 2 deletions

View File

@ -14,6 +14,7 @@
#define lithos3__Lth_types_h
#define Lth_ScriptCall [[__call("ScriptS")]]
#define Lth_OptArgs(n) [[__optional_args(n)]]
#define Lth_Inherits(name) [[__anonymous]] name _super
#define Lth_Mixin(name) [[__anonymous]] name _##name

View File

@ -33,8 +33,7 @@ typedef struct Lth_Window
// Extern Functions ----------------------------------------------------------|
[[__optional_args(2)]]
Lth_Window *Lth_WindowNew(char const *title, int x, int y, int w, int h);
Lth_OptArgs(2) Lth_Window *Lth_WindowNew(char const *title, int x, int y, int w, int h);
void Lth_WindowSetTitle(Lth_Window *ctrl, char const *title);
#endif//lithos3__Lth_window_h