[haXe] haxe/neko libraries

Nicolas Cannasse ncannasse at motion-twin.com
Sun Apr 23 20:19:27 CEST 2006


daniel fischer wrote:
> Nicolas Cannasse <ncannasse at motion-twin.com> (on Sun, 23 Apr 2006 20:00:13 +0200):
> 
>   > 	untyped __dollar__exports.MyClass = MyClass;
> 
> excellent, that's what i was looking for, thanks a lot.
> 
> even more, i now strongly suspect that
> 	public static var GL_VERSION_1_1 = 1;
> is an idiotic way to define constants, i don't need this as static vars really. is there something like cpp's "#define" or would i have to use a preprocessor for that?

There is no #define in haXe.
However I'm thinking about adding the "inline" property that would 
inline constants and small functions by replacing directly the place 
where they are used.

Nicolas



More information about the Haxe mailing list