mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
parser: do not allow duplicate fns; cgen: move fn code to fn.v
This commit is contained in:
@@ -13,11 +13,12 @@ struct C.cJSON {
|
||||
}
|
||||
|
||||
pub fn decode() voidptr {
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
pub fn encode() voidptr {
|
||||
|
||||
pub fn encode(x voidptr) string {
|
||||
// compiler implementation
|
||||
return ''
|
||||
}
|
||||
|
||||
fn jsdecode_int(root &C.cJSON) int {
|
||||
|
||||
Reference in New Issue
Block a user