Mac library name fix

This commit is contained in:
Garry Newman 2016-10-25 13:51:57 +01:00
parent ef45d94220
commit f90a151150
3 changed files with 646 additions and 646 deletions

File diff suppressed because it is too large Load Diff

View File

@ -4617,7 +4617,7 @@ internal static unsafe class SteamApi
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_GetHSteamPipe" )] internal static extern HSteamPipe /*(HSteamPipe)*/ SteamAPI_GetHSteamPipe();
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamGameServer_GetHSteamUser" )] internal static extern HSteamUser /*(HSteamUser)*/ SteamGameServer_GetHSteamUser();
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamGameServer_GetHSteamPipe" )] internal static extern HSteamPipe /*(HSteamPipe)*/ SteamGameServer_GetHSteamPipe();
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamInternal_CreateInterface" )] internal static extern IntPtr /*void **/ SteamInternal_CreateInterface( string /*const char **/ version );
[DllImportAttribute( "steam_api64", EntryPoint = "SteamInternal_CreateInterface" )] internal static extern IntPtr /*void **/ SteamInternal_CreateInterface( string /*const char **/ version );
}
}

View File

@ -254,7 +254,7 @@ public void ToFolder( string folder )
{
sb = new StringBuilder();
Header();
PlatformClass( "Mac", "libsteam_api.dylib.so" );
PlatformClass( "Mac", "libsteam_api.dylib" );
Footer();
System.IO.File.WriteAllText( $"{folder}SteamNative.Platform.Mac.cs", sb.ToString() );
}