Make enum/constant binds 64-bit.

This commit is contained in:
bruvzg 2022-05-09 12:47:10 +03:00
parent 78944fef82
commit 860e24683f
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38
16 changed files with 48 additions and 46 deletions

View file

@ -45,12 +45,12 @@ class BindingsGenerator {
struct ConstantInterface {
String name;
String proxy_name;
int value = 0;
int64_t value = 0;
const DocData::ConstantDoc *const_doc;
ConstantInterface() {}
ConstantInterface(const String &p_name, const String &p_proxy_name, int p_value) {
ConstantInterface(const String &p_name, const String &p_proxy_name, int64_t p_value) {
name = p_name;
proxy_name = p_proxy_name;
value = p_value;