I made some simple wrapping for C# and want to do the same for Java. I have
a set of wrapping rules (%defines) that include typemaps. Is it possible to
create some generic rule that would apply different typemaps according to
target language? For instance:
%typemap(ctype) CLASS ...
if (C# target)
and apply this WRAP_RULE for C++ classes where necessary.
Or probably somebody may share some approaches of how to separate wrapping
logics and language specifics?