Skip to content
This repository has been archived by the owner on Oct 8, 2023. It is now read-only.

Commit

Permalink
Fix loading native library at runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
lithiumtoast committed Aug 10, 2023
1 parent 1378a68 commit e27a3ff
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions bindgen/config-generate-cs-core.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"outputFileDirectory": "./../src/cs/production/Interop.Flecs.Core/Generated",
"namespaceName": "flecs_hub.Interop.Flecs",
"className": "PInvoke",
"libraryName": "flecs",
"isEnabledGeneratingRuntimeCode": false,
"isEnabledLibraryImport": true,
"isEnabledFunctionPointers": true,
Expand Down
1 change: 1 addition & 0 deletions bindgen/config-generate-cs-unity.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"outputFileDirectory": "./../src/cs/production/Interop.Flecs.Unity/Generated",
"namespaceName": "flecs_hub.Interop.Flecs",
"className": "PInvoke",
"libraryName": "flecs",
"isEnabledGeneratingRuntimeCode": false,
"isEnabledLibraryImport": false,
"isEnabledFunctionPointers": false,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// To disable generating this file set `isEnabledGenerateAssemblyAttributes` to `false` in the config file for generating C# code.
// <auto-generated>
// This code was generated by the following tool on 2023-08-10 00:50:37 GMT+00:00:
// This code was generated by the following tool on 2023-08-10 18:27:08 GMT-04:00:
// https://github.com/bottlenoselabs/c2cs (v6.1.3.0)
//
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
Expand Down
4 changes: 2 additions & 2 deletions src/cs/production/Interop.Flecs.Core/Generated/PInvoke.gen.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// <auto-generated>
// This code was generated by the following tool on 2023-08-10 00:50:37 GMT+00:00:
// This code was generated by the following tool on 2023-08-10 18:27:08 GMT-04:00:
// https://github.com/bottlenoselabs/c2cs (v6.1.3.0)
//
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
Expand All @@ -23,7 +23,7 @@ namespace flecs_hub.Interop.Flecs;

public static unsafe partial class PInvoke
{
private const string LibraryName = "PInvoke";
private const string LibraryName = "flecs";

#region API

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// To disable generating this file set `isEnabledGenerateAssemblyAttributes` to `false` in the config file for generating C# code.
// <auto-generated>
// This code was generated by the following tool on 2023-08-10 00:50:50 GMT+00:00:
// This code was generated by the following tool on 2023-08-10 18:27:11 GMT-04:00:
// https://github.com/bottlenoselabs/c2cs (v6.1.3.0)
//
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// <auto-generated>
// This code was generated by the following tool on 2023-08-10 00:50:50 GMT+00:00:
// This code was generated by the following tool on 2023-08-10 18:27:11 GMT-04:00:
// https://github.com/bottlenoselabs/c2cs (v6.1.3.0)
//
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
Expand All @@ -24,7 +24,7 @@ namespace flecs_hub.Interop.Flecs

public static unsafe partial class PInvoke
{
private const string LibraryName = "PInvoke";
private const string LibraryName = "flecs";

#region API

Expand Down

0 comments on commit e27a3ff

Please sign in to comment.