bool should be RBBoolean - Bug in the SDK ?

Is this a bug in the SDK:

void REALInsertArrayValueBoolean(REALarray arr, RBInteger index, bool value)

I imagine it should be RBBoolean there ?

Well, I have a little wrapper for this:

static inline bool REALGetPropValueBoolean(REALobject object, const char *propName, RBBoolean *outValue) { bool c = *outValue; bool r = REALGetPropValueBoolean(object, propName, &c); DebugMessage(__FUNCTION__, c, r); *outValue = c; return r; }

[quote=281916:@Björn Eiríksson]Is this a bug in the SDK:

void REALInsertArrayValueBoolean(REALarray arr, RBInteger index, bool value)

I imagine it should be RBBoolean there ?[/quote]

‘bool’ has better type safety than RBBoolean and is used through most of the developer-facing parts of the plugins SDK. The stub methods in PluginMain.cpp take care of using RBBoolean at the ABI boundaries.

I have no problem moving to bool on the long run if that only affects the wrapper and keeps plugin compatible to older versions.