[cpp] generating externs can now be done better with macros
[cpp] generating externs can now be done better with macros

pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe