Question about --gen-hx-classes

30 views
Skip to first unread message

Adrian Martinez

unread,
Aug 27, 2014, 4:16:58 AM8/27/14
to haxe...@googlegroups.com

Hi all,


Using --gen-hx-classes is it possible to prepend all exported extern classes with a certain directory?

Like dir1.dir2.MyClass would become: externs.dir1.dir2.MyClass?

I ask this so I can use a modular approach.

The implementation would be like:


#if useExterns

import externs.dir1.dir2.MyClass;

#else

import dir1.dir2.MyClass;

#end


If this is not possible what would be my options?


Adrian

Reply all
Reply to author
Forward
0 new messages