瀏覽代碼

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 年之前
父節點
當前提交
bf278aaa99
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      cmJson.c

+ 1
- 0
cmJson.c 查看文件

@@ -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…
取消
儲存