2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-09-09 03:01:41 -04:00

No longer require unsafe option

- Change unsafe/fixed to use IntPtr or MarshallAs instead.
- Added methods in physac to marshall IntPtr returns to PhysicsBodyData.
This commit is contained in:
2018-09-23 12:34:40 +01:00
parent ad29970c0e
commit 791c165dee
6 changed files with 67 additions and 36 deletions

View File

@@ -36,7 +36,7 @@
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
@@ -84,8 +84,6 @@
<Reference Include="System.Windows.Forms" />
</ItemGroup>
<ItemGroup>
<Compile Include="core_basic_window.cs" />
<Compile Include="Program.cs" />
<Compile Include="RayForm.cs">
<SubType>Form</SubType>
</Compile>