[haXe] DEFINE_ENTRY_POINT

Nicolas Cannasse ncannasse at motion-twin.com
Fri Feb 16 18:05:43 CET 2007


> Hi list,
> 
> How should DEFINE_ENTRY_POINT be used?  I've tried DEFINE_ENTRY_POINT( 
> myentry ), but I get:

Hi Lee,

Watch "std" and "zlib" sources for it.
Basicaly you do the following :

DEFINE_ENTRY_POINT(my_main);

void my_main() {
    // put initialisation code here
}

Nicolas



More information about the Haxe mailing list