COMMUNITY

Error on tink_hxx

Hi,
trying to understand what error message * is not suitable as a hxx tag, because defines too many arguments, tried to check code but could not get till end

@back2dos @kevinresol any idea what could cause it ?

Hxx has a clear definition on what can be a tag:

Also you should make sure the identifier is not shadowed by something else, e.g. enum constructors.

In my example I have js externs for JS lib, I then add hxx support to it using macro, it it even possible ? Will dig deeper

You can probably inject a static inline function fromHxx to your extern class. Or create wrapper functions to call whatever you need.

How to inject function to extern class ? same as normal hx class ?