Hi YoYo team and everyone!
I would like to know if it was possible to add a #ifdefined or #ifmacro precompile check
or another precompile check to check for use within extensions (I'm saying this because I think this is more of an extension development modular feature).
#ifextension extension_name
...
#endif
imagine I have a extension that works differently depending on where there is another extension present or not... for example:
extension A:
extension B:
or would it be a bad ideia to have something like this?!
I would like to know if it was possible to add a #ifdefined or #ifmacro precompile check
or another precompile check to check for use within extensions (I'm saying this because I think this is more of an extension development modular feature).
#ifextension extension_name
...
#endif
imagine I have a extension that works differently depending on where there is another extension present or not... for example:
extension A:
Code:
#define stuff_manager
extension B:
Code:
var stuff = [........];
#ifdefined stuff_manager
stuff_manager_add_new_stuff(stuff); // this function is from stuff manager
#endif
return stuff;