Browse Source

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.
master
kevin 11 years ago
parent
commit
bf278aaa99
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      cmJson.c

+ 1
- 0
cmJson.c View File

@@ -1631,6 +1631,7 @@ cmJsRC_t      cmJsonVMemberValues( const cmJsonNode_t* objectNodePtr, const char
1631 1631
         
1632 1632
       case kTrueTId:
1633 1633
       case kFalseTId:
1634
+      case kBoolTId:
1634 1635
         {
1635 1636
           bool* bp = va_arg(vl, bool* );
1636 1637
           rc = cmJsonBoolMember(objectNodePtr, label, bp);

Loading…
Cancel
Save