mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-12 20:05:48 +01:00
Remove dependency to CPP: added pre-defined macros
A number of macros are pre-defined by WindowMaker for CPP in the function 'MakeCPPArgs', they are now available in the internal parser too. CPP also had some predefined macros, a subset of them have been added. The definition have been split in two parts: - the macro that are dependant on WindowMaker parameters are defined by WindowMaker (src/rootmenu.c) - those that are independant, which can be defined by the parser itself (WINGs/menuparser_macros.c)
This commit is contained in:
committed by
Carlos R. Mafra
parent
aaa4517df7
commit
9b792369cb
@@ -61,6 +61,8 @@ struct w_parser_macro {
|
||||
|
||||
Bool menu_parser_skip_spaces_and_comments(WMenuParser parser);
|
||||
|
||||
void menu_parser_register_preset_macros(WMenuParser parser);
|
||||
|
||||
void menu_parser_define_macro(WMenuParser parser);
|
||||
|
||||
void menu_parser_free_macros(WMenuParser parser);
|
||||
|
||||
Reference in New Issue
Block a user