Supposedly, C++ classes are the same as C structs, or something, and could be interchanged when mixing C / C++ code. Would an opaque pointer work, perhaps...