cmJson.c:Added case kBoolTId to switch in cmJsonMemberValues()
kBoolTId can now be used as a type rather than only kTrueTId or kFalseTId to identify boolean values.
This commit is contained in:
parent
646f65222e
commit
bf278aaa99
1
cmJson.c
1
cmJson.c
@ -1631,6 +1631,7 @@ cmJsRC_t cmJsonVMemberValues( const cmJsonNode_t* objectNodePtr, const char
|
|||||||
|
|
||||||
case kTrueTId:
|
case kTrueTId:
|
||||||
case kFalseTId:
|
case kFalseTId:
|
||||||
|
case kBoolTId:
|
||||||
{
|
{
|
||||||
bool* bp = va_arg(vl, bool* );
|
bool* bp = va_arg(vl, bool* );
|
||||||
rc = cmJsonBoolMember(objectNodePtr, label, bp);
|
rc = cmJsonBoolMember(objectNodePtr, label, bp);
|
||||||
|
Loading…
Reference in New Issue
Block a user