SDK for C bank_checker.h, etc. c++ only?

Hi all,

I basically don’t know anything about C++ and only use C. The header files that come with the SDK, bank_checker.h, cutil.h, error_checker.h, exception.h, etc look like C++ syntax and I would like to use these macros and functions from C. Would that be possible somehow?

The API exposed by cutil.h is a C API and it doesn’t use C++ syntax. The internals of libcutil / cutil.lib are C++, but the interface is C – even on a C++ compiler this is enforced by this code wrapping all the function headers in cutil.h:

#ifdef __cplusplus

extern "C" {

#endif

Mark

The API exposed by cutil.h is a C API and it doesn’t use C++ syntax. The internals of libcutil / cutil.lib are C++, but the interface is C – even on a C++ compiler this is enforced by this code wrapping all the function headers in cutil.h:

#ifdef __cplusplus

extern "C" {

#endif

Mark

Thanks Mark, I indeed overlooked that for cutil.h, I just wished the other header files (bank_checker.h, etc) also had a C API.