webidl
webidl copied to clipboard
Question: Are static methods and namespaces supported?
Hi,
Are static methods and namespaces supported?
My example would look like: tdme.utils.Console.idl:
namespace tdme {
namespace utils {
interface Console {
static void println();
}
}
}
Also is there support for some std containers and std::string?
Many thanx and
Best regards Andreas
I don't know for sure, but the largest library I know that somebody has created bindings for with this is Bullet. You could look at the bullet WebIDL file to see what it has in it.
Hmm. I see no static functions there. I decided to not to use namespaces in HL/TDME2, so this is not a problem.
Maybe I will write my own generator with transferring std containers to Haxe ones and the other way.
I would at least need an example how to do static methods. Guess I find it in HL/lib code.