diff options
author | Ricardo Buring <ricardo.buring@gmail.com> | 2023-01-09 11:03:07 +0100 |
---|---|---|
committer | Ricardo Buring <ricardo.buring@gmail.com> | 2023-01-09 23:22:03 +0100 |
commit | 47140cdad095494dcbfc070918d1b422d8a0761d (patch) | |
tree | 1d856953b09d2b6c357daf44a94d09b7a7c0e710 /misc/scripts/check_get_file_list.py | |
parent | 2f785c9da14ea4f312798b2ef1f8fe6af8cbeb61 (diff) | |
download | redot-cpp-47140cdad095494dcbfc070918d1b422d8a0761d.tar.gz |
Rename float=64 build option to precision=double
This makes the build system consistent with Godot again.
Also fix CMake build to define REAL_T_IS_DOUBLE when precision=double.
Diffstat (limited to 'misc/scripts/check_get_file_list.py')
-rwxr-xr-x | misc/scripts/check_get_file_list.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/scripts/check_get_file_list.py b/misc/scripts/check_get_file_list.py index d86b65f..d536a7a 100755 --- a/misc/scripts/check_get_file_list.py +++ b/misc/scripts/check_get_file_list.py @@ -10,10 +10,10 @@ from binding_generator import get_file_list, generate_bindings api_filepath = "gdextension/extension_api.json" bits = "64" -double = "float" +precision = "single" output_dir = "self_test" -generate_bindings(api_filepath, use_template_get_node=False, bits=bits, double=double, output_dir=output_dir) +generate_bindings(api_filepath, use_template_get_node=False, bits=bits, precision=precision, output_dir=output_dir) flist = get_file_list(api_filepath, output_dir, headers=True, sources=True) p = Path(output_dir) / "gen" |