Print expected os.arch tuple for current platform in GDExtension error

This also adds `Engine.get_architecture_name()` to get the name of the
CPU architecture the Godot binary was built for.
This commit is contained in:
Hugo Locurcio
2022-07-20 19:05:49 +02:00
parent 862dedcefe
commit 27a072c884
6 changed files with 64 additions and 3 deletions

View File

@ -666,6 +666,8 @@ public:
Dictionary get_license_info() const;
String get_license_text() const;
String get_architecture_name() const;
bool is_in_physics_frame() const;
bool has_singleton(const StringName &p_name) const;