oniksan / godobuf

A Google Protobuf implementation for Godot / GDScript
BSD 3-Clause "New" or "Revised" License
248 stars 34 forks source link

Use __ prefix for variable names. #37

Closed rcorre closed 7 months ago

rcorre commented 8 months ago

Fixes #34.

The _ prefix can conflict with existing functions. For example, a field named "init" generates a variable named "_init", which conflicts with the _init function. The double-underscore should avoid conflicts with builtins.