mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Style: Convert namespaces to PascalCase
This commit is contained in:
parent
0595bb8a42
commit
1cb3cfaa8e
40 changed files with 509 additions and 509 deletions
|
|
@ -101,11 +101,11 @@ String find_hostfxr() {
|
|||
|
||||
// hostfxr_resolver doesn't look for dotnet in `PATH`. If it fails, we try to find the dotnet
|
||||
// executable in `PATH` here and pass its location as `dotnet_root` to `get_hostfxr_path`.
|
||||
String dotnet_exe = path::find_executable("dotnet");
|
||||
String dotnet_exe = Path::find_executable("dotnet");
|
||||
|
||||
if (!dotnet_exe.is_empty()) {
|
||||
// The file found in PATH may be a symlink
|
||||
dotnet_exe = path::abspath(path::realpath(dotnet_exe));
|
||||
dotnet_exe = Path::abspath(Path::realpath(dotnet_exe));
|
||||
|
||||
// TODO:
|
||||
// Sometimes, the symlink may not point to the dotnet executable in the dotnet root.
|
||||
|
|
@ -385,7 +385,7 @@ godot_plugins_initialize_fn initialize_hostfxr_and_godot_plugins(bool &r_runtime
|
|||
godot_plugins_initialize_fn initialize_hostfxr_and_godot_plugins(bool &r_runtime_initialized) {
|
||||
godot_plugins_initialize_fn godot_plugins_initialize = nullptr;
|
||||
|
||||
String assembly_name = path::get_csharp_project_name();
|
||||
String assembly_name = Path::get_csharp_project_name();
|
||||
|
||||
HostFxrCharString assembly_path = str_to_hostfxr(GodotSharpDirs::get_api_assemblies_dir()
|
||||
.path_join(assembly_name + ".dll"));
|
||||
|
|
@ -410,7 +410,7 @@ godot_plugins_initialize_fn initialize_hostfxr_and_godot_plugins(bool &r_runtime
|
|||
}
|
||||
|
||||
godot_plugins_initialize_fn try_load_native_aot_library(void *&r_aot_dll_handle) {
|
||||
String assembly_name = path::get_csharp_project_name();
|
||||
String assembly_name = Path::get_csharp_project_name();
|
||||
|
||||
#if defined(WINDOWS_ENABLED)
|
||||
String native_aot_so_path = GodotSharpDirs::get_api_assemblies_dir().path_join(assembly_name + ".dll");
|
||||
|
|
@ -463,7 +463,7 @@ String make_tpa_list() {
|
|||
godot_plugins_initialize_fn initialize_coreclr_and_godot_plugins(bool &r_runtime_initialized) {
|
||||
godot_plugins_initialize_fn godot_plugins_initialize = nullptr;
|
||||
|
||||
String assembly_name = path::get_csharp_project_name();
|
||||
String assembly_name = Path::get_csharp_project_name();
|
||||
|
||||
String tpa_list = make_tpa_list();
|
||||
const char *prop_keys[] = { "TRUSTED_PLATFORM_ASSEMBLIES" };
|
||||
|
|
@ -627,7 +627,7 @@ void GDMono::_init_godot_api_hashes() {
|
|||
|
||||
#ifdef TOOLS_ENABLED
|
||||
bool GDMono::_load_project_assembly() {
|
||||
String assembly_name = path::get_csharp_project_name();
|
||||
String assembly_name = Path::get_csharp_project_name();
|
||||
|
||||
String assembly_path = GodotSharpDirs::get_res_temp_assemblies_dir()
|
||||
.path_join(assembly_name + ".dll");
|
||||
|
|
@ -658,7 +658,7 @@ void GDMono::reload_failure() {
|
|||
|
||||
ERR_PRINT_ED(".NET: Giving up on assembly reloading. Please restart the editor if unloading was failing.");
|
||||
|
||||
String assembly_name = path::get_csharp_project_name();
|
||||
String assembly_name = Path::get_csharp_project_name();
|
||||
String assembly_path = GodotSharpDirs::get_res_temp_assemblies_dir().path_join(assembly_name + ".dll");
|
||||
assembly_path = ProjectSettings::get_singleton()->globalize_path(assembly_path);
|
||||
project_assembly_path = assembly_path.simplify_path();
|
||||
|
|
@ -716,7 +716,7 @@ GDMono::~GDMono() {
|
|||
singleton = nullptr;
|
||||
}
|
||||
|
||||
namespace mono_bind {
|
||||
namespace MonoBind {
|
||||
|
||||
GodotSharp *GodotSharp::singleton = nullptr;
|
||||
|
||||
|
|
@ -739,4 +739,4 @@ GodotSharp::~GodotSharp() {
|
|||
singleton = nullptr;
|
||||
}
|
||||
|
||||
} // namespace mono_bind
|
||||
} // namespace MonoBind
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue