C Bindings for Irrlicht. Advice needed.

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
sunnystormy
Posts: 105
Joined: Mon Jun 02, 2014 2:32 am
Location: Washington, D.C.
Contact:

C Bindings for Irrlicht. Advice needed.

Post by sunnystormy »

I'm in the process of creating a C interface for a library I'm working on that incorporates Irrlicht for graphics and input. Because some of the Irrlicht methods return a member defined in C++ (like the device, for example), how do I get that to play along with C so I can bind it to another language?

Any advice would be greatly appreciated! Thank you. :)
My blog: http://fsgdp.wordpress.com "The Free Software Game Development Pipeline"
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: C Bindings for Irrlicht. Advice needed.

Post by hendu »

Typedef a void pointer, or use a struct.
Post Reply