2121#include < cs_loader/simple_netcore.h>
2222
2323#include < cs_loader/netcore.h>
24- #if defined(__linux) | defined( linux)
25- #include < cs_loader/netcore_linux.h>
24+ #if defined(__linux) | defined(linux)
25+ # include < cs_loader/netcore_linux.h>
2626#else
27- #include < cs_loader/netcore_win.h>
27+ # include < cs_loader/netcore_win.h>
2828#endif
2929
3030netcore_handle simple_netcore_create (char * dotnet_root, char * dotnet_loader_assembly_path)
3131{
32- #if defined(__linux) | defined( linux)
32+ #if defined(__linux) | defined(linux)
3333 netcore_linux * netcore_impl = new netcore_linux (dotnet_root, dotnet_loader_assembly_path);
3434 #else
3535 netcore_win * netcore_impl = new netcore_win (dotnet_root, dotnet_loader_assembly_path);
3636 #endif
3737
38- bool result = netcore_impl->start ();
38+ bool result = netcore_impl->start ();
3939
4040 if (result == false )
4141 {
@@ -60,7 +60,7 @@ void simple_netcore_destroy(netcore_handle handle)
6060 delete core;
6161}
6262
63- void simple_netcore_load_script_from_files (netcore_handle handle, char * files[MAX_FILES], size_t size)
63+ void simple_netcore_load_script_from_files (netcore_handle handle, char * files[MAX_FILES], size_t size)
6464{
6565 netcore * core = (netcore*)handle;
6666
@@ -70,7 +70,7 @@ void simple_netcore_load_script_from_files(netcore_handle handle, char * files[
7070 }
7171}
7272
73- void simple_netcore_load_script_from_assembly (netcore_handle handle, char * file)
73+ void simple_netcore_load_script_from_assembly (netcore_handle handle, char * file)
7474{
7575 netcore * core = (netcore*)handle;
7676
@@ -80,7 +80,7 @@ void simple_netcore_load_script_from_assembly(netcore_handle handle, char * fil
8080 }
8181}
8282
83- void simple_netcore_load_script_from_memory (netcore_handle handle, const char * buffer, size_t size)
83+ void simple_netcore_load_script_from_memory (netcore_handle handle, const char * buffer, size_t size)
8484{
8585 netcore * core = (netcore*)handle;
8686
@@ -91,14 +91,14 @@ void simple_netcore_load_script_from_memory(netcore_handle handle, const char *
9191
9292 }
9393}
94- execution_result * simple_netcore_invoke (netcore_handle handle, const char * func)
94+ execution_result * simple_netcore_invoke (netcore_handle handle, const char * func)
9595{
9696 netcore * core = (netcore*)handle;
9797
9898 return core->execute ((char *)func);
9999}
100100
101- execution_result * simple_netcore_invoke_with_params (netcore_handle handle, const char * func, parameters * params)
101+ execution_result * simple_netcore_invoke_with_params (netcore_handle handle, const char * func, parameters * params)
102102{
103103 netcore * core = (netcore*)handle;
104104
0 commit comments