- Joined
- Feb 11, 2011
- Messages
- 1,860
Hello,
I want to make a library which optionally requires T32.
How can I use static ifs to do this?
I have this so far:
But this gives an error, saying that the module was not found (when I disable T32).
Is there a way to get around this, or can T32 not be made optional?
Thanks,
Mr_Bean
I want to make a library which optionally requires T32.
How can I use static ifs to do this?
I have this so far:
JASS:
static if (LIBRARY_T32) then
private method periodic takes nothing returns nothing
// ...
endmethod
implement T32x
endif
Is there a way to get around this, or can T32 not be made optional?
Thanks,
Mr_Bean