2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-12-16 20:34:58 +01: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 4652f1fa6d
commit f880241ee4
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>