I’m currently finishing a Dolphin Smalltalk wrapper for FMOD Ex (based on the C-API). Now someone told me that the C-API is deprecated and that only the C++ API is the API of choice for the future?
So what’s the current status? As far as I can see the [i:ut96idvm]documentation[/i:ut96idvm] focuses on the C++ API – however the C-API is still defined in the header files and I assume the VB, Delphi and alike do use the C instead of the C++ API …
- krodelin asked 10 years ago
Thanks for the reply.
[quote="artscoop":jcldoauv]However, I think the C++ API is by far more suitable for reuseability, and to clean your code. Yet, it is a bit harder to get in the code.[/quote:jcldoauv]
I’d love to use the C++ API but this is not possible due to some limitations in the Smalltalk FFI. However the Smalltalk Wrapper is modeled after the C++ API, just based on the C API.
[quote="brett":1jzb2c69]whoever told you the C api is deprecated is wrong. In fact we just -added- a C api to the event API.[/quote:1jzb2c69]
That’s the answer I hoped for! Is there any place/repositry to post wrappers to? Or is "announcing" it here the official way.
The C API cannot be deprecated as it is the only one useable on most Win32 compilers. (have a look at one of the forum stickies)
However, I think the C++ API is by far more suitable for reuseability, and to clean your code. Yet, it is a bit harder to get in the code.
- artscoop answered 10 years ago
Please login first to submit.