PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

C only support

Hi. This wouldn't be a trivial change, but would it be possible to provide a C-only API? I was going to try PocketHAL with PocketQuake, which is in straight C, but the API is C++. As simple as the PocketHAL interface is I don't think the C++ necessary. I may write a DLL wrapper for it that exposes a C api if I have the time.

Dan East
It is on my todo list, but don't hold your breath.

You don't need a DLL to do it. Just add a .h/.cpp API wrapper and declare your functions ' extern "c" '.