YACA_ASSERT_MSG(ret == (expected), \
"Expected: " << yaca_error((expected)) << \
" got: " << yaca_error(ret) ); \
-} while(0);
+} while(0)
-#define YACA_SUCCESS(func) YACA_RESULT(YACA_ERROR_NONE, func);
+#define YACA_SUCCESS(func) YACA_RESULT(YACA_ERROR_NONE, func)
-#define YACA_INVALID_PARAM(func) YACA_RESULT(YACA_ERROR_INVALID_PARAMETER, func);
+#define YACA_INVALID_PARAM(func) YACA_RESULT(YACA_ERROR_INVALID_PARAMETER, func)
typedef std::unique_ptr<char, void (*)(void*)> ChrPtr;
typedef std::unique_ptr<yaca_key_s, void (*)(yaca_key_h)> KeyPtr;