mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: check number of C function arguments for some cases (#8444)
This commit is contained in:
@ -105,22 +105,22 @@ fn decode_string(root &C.cJSON) string {
|
||||
return tos_clone(root.valuestring) // , _strlen(root.valuestring))
|
||||
}
|
||||
|
||||
fn C.cJSON_IsTrue() bool
|
||||
fn C.cJSON_IsTrue(voidptr) bool
|
||||
|
||||
|
||||
fn C.cJSON_CreateNumber() &C.cJSON
|
||||
fn C.cJSON_CreateNumber(int) &C.cJSON
|
||||
|
||||
|
||||
fn C.cJSON_CreateBool() &C.cJSON
|
||||
fn C.cJSON_CreateBool(bool) &C.cJSON
|
||||
|
||||
|
||||
fn C.cJSON_CreateString() &C.cJSON
|
||||
fn C.cJSON_CreateString(charptr) &C.cJSON
|
||||
|
||||
|
||||
fn C.cJSON_Parse() &C.cJSON
|
||||
fn C.cJSON_Parse(charptr) &C.cJSON
|
||||
|
||||
|
||||
fn C.cJSON_PrintUnformatted() byteptr
|
||||
fn C.cJSON_PrintUnformatted(voidptr) byteptr
|
||||
|
||||
|
||||
fn decode_bool(root &C.cJSON) bool {
|
||||
|
Reference in New Issue
Block a user