mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
CReserved => c_reserved; charptr
This commit is contained in:
@ -271,7 +271,7 @@ fn (table mut Table) fn_gen_name(f &Fn) string {
|
||||
// Avoid name conflicts (with things like abs(), print() etc).
|
||||
// Generate v_abs(), v_print()
|
||||
// TODO duplicate functionality
|
||||
if f.mod == 'builtin' && f.name in CReserved {
|
||||
if f.mod == 'builtin' && f.name in c_reserved {
|
||||
return 'v_$name'
|
||||
}
|
||||
// Obfuscate but skip certain names
|
||||
|
Reference in New Issue
Block a user