Maybee Rezbit
Maybee Rezbit
Hey, I'm so sorry I missed this! Are you still having the issue? This could be a Reflaxe or Reflaxe/GDScript issue where I'm running some macro code that calls an...
Also what happens when you try compiling the code to a different language? Like doing `-js` instead?
Would `@:callconv` be the ability to add the content between the type and the name (__stdcall for example)?
I'm actually not sure how to design a feature for this. Maybe should be able to disable the main function so the user can create their own? (Top level functions...
You can compile without main, but you have to list out all the types you want to compile in the `.hxml`. Plus, to have the Haxe and Reflaxe/C++ DCE work,...
You're looking for [`TypeHelper.findResolvedTypeParams`](https://github.com/SomeRanDev/reflaxe/blob/7dce4a1afc6bd86e64a46085cfcf7250564585ed/src/reflaxe/helpers/TypeHelper.hx#L23). I usually use it like this: `using reflaxe.helpers.TypeHelper`. You can see it being used here: https://github.com/SomeRanDev/reflaxe.CPP/blob/0630b5824b5574e368d622c37588b70869d312af/src/cxxcompiler/subcompilers/Expressions.hx#L1525 Ignore anything with `@:templateArg`/`Meta.TemplateArg`, this is for adding C++ constant...
I haven't used `@:generic` a lot, but I assume the Haxe compiler takes care of it and generates the classes before Reflaxe does anything. So it should work? I could...
This is an issue with Haxe itself. I’ve been trying to find a solution, but also waiting to see if this pull request gets accepted: https://github.com/HaxeFoundation/haxe/pull/10830 in mean time, next...
I'll document it. Even give details in the error message 👌 I don't know why I didn't do this from the start, unexpected `new` allocs are such a hassle. 💀
Noted! 👌 I'll also do a PR for "Sort". It was originally going to be part of this, but I decided to stick with the bare essentials for the initial...