koffi 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CMakeLists.txt +94 -0
- package/README.md +153 -0
- package/build/ALL_BUILD.vcxproj +190 -0
- package/build/ALL_BUILD.vcxproj.filters +8 -0
- package/build/CMakeCache.txt +429 -0
- package/build/CMakeFiles/3.23.0-rc1/CMakeASMCompiler.cmake +20 -0
- package/build/CMakeFiles/3.23.0-rc1/CMakeASM_MASMCompiler.cmake +20 -0
- package/build/CMakeFiles/3.23.0-rc1/CMakeCCompiler.cmake +72 -0
- package/build/CMakeFiles/3.23.0-rc1/CMakeCXXCompiler.cmake +83 -0
- package/build/CMakeFiles/3.23.0-rc1/CMakeDetermineCompilerABI_C.bin +0 -0
- package/build/CMakeFiles/3.23.0-rc1/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/build/CMakeFiles/3.23.0-rc1/CMakeRCCompiler.cmake +6 -0
- package/build/CMakeFiles/3.23.0-rc1/CMakeSystem.cmake +15 -0
- package/build/CMakeFiles/3.23.0-rc1/CompilerIdC/CMakeCCompilerId.c +828 -0
- package/build/CMakeFiles/3.23.0-rc1/CompilerIdC/CompilerIdC.exe +0 -0
- package/build/CMakeFiles/3.23.0-rc1/CompilerIdC/CompilerIdC.vcxproj +71 -0
- package/build/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CMakeCCompilerId.obj +0 -0
- package/build/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CompilerIdC.exe.recipe +11 -0
- package/build/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CompilerIdC.tlog/CL.command.1.tlog +0 -0
- package/build/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CompilerIdC.tlog/CL.read.1.tlog +0 -0
- package/build/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CompilerIdC.tlog/CL.write.1.tlog +0 -0
- package/build/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CompilerIdC.tlog/CompilerIdC.lastbuildstate +2 -0
- package/build/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CompilerIdC.tlog/link.command.1.tlog +0 -0
- package/build/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CompilerIdC.tlog/link.read.1.tlog +0 -0
- package/build/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CompilerIdC.tlog/link.write.1.tlog +0 -0
- package/build/CMakeFiles/3.23.0-rc1/CompilerIdCXX/CMakeCXXCompilerId.cpp +816 -0
- package/build/CMakeFiles/3.23.0-rc1/CompilerIdCXX/CompilerIdCXX.exe +0 -0
- package/build/CMakeFiles/3.23.0-rc1/CompilerIdCXX/CompilerIdCXX.vcxproj +71 -0
- package/build/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CMakeCXXCompilerId.obj +0 -0
- package/build/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CompilerIdCXX.exe.recipe +11 -0
- package/build/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CompilerIdCXX.tlog/CL.command.1.tlog +0 -0
- package/build/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CompilerIdCXX.tlog/CL.read.1.tlog +0 -0
- package/build/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CompilerIdCXX.tlog/CL.write.1.tlog +0 -0
- package/build/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CompilerIdCXX.tlog/CompilerIdCXX.lastbuildstate +2 -0
- package/build/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CompilerIdCXX.tlog/link.command.1.tlog +0 -0
- package/build/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CompilerIdCXX.tlog/link.read.1.tlog +0 -0
- package/build/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CompilerIdCXX.tlog/link.write.1.tlog +0 -0
- package/build/CMakeFiles/3.23.0-rc1/VCTargetsPath.txt +1 -0
- package/build/CMakeFiles/3.23.0-rc1/VCTargetsPath.vcxproj +31 -0
- package/build/CMakeFiles/3.23.0-rc1/x64/Debug/VCTargetsPath.recipe +11 -0
- package/build/CMakeFiles/3.23.0-rc1/x64/Debug/VCTargetsPath.tlog/VCTargetsPath.lastbuildstate +2 -0
- package/build/CMakeFiles/41bcd16856091d4a38fd1f71fbe2f202/generate.stamp.rule +1 -0
- package/build/CMakeFiles/CMakeError.log +108 -0
- package/build/CMakeFiles/CMakeOutput.log +413 -0
- package/build/CMakeFiles/TargetDirectories.txt +4 -0
- package/build/CMakeFiles/cmake.check_cache +1 -0
- package/build/CMakeFiles/generate.stamp +1 -0
- package/build/CMakeFiles/generate.stamp.depend +28 -0
- package/build/CMakeFiles/generate.stamp.list +1 -0
- package/build/Raylib.dir/Release/Raylib.dll.recipe +14 -0
- package/build/Raylib.dir/Release/Raylib.tlog/CL.command.1.tlog +0 -0
- package/build/Raylib.dir/Release/Raylib.tlog/CL.read.1.tlog +0 -0
- package/build/Raylib.dir/Release/Raylib.tlog/CL.write.1.tlog +0 -0
- package/build/Raylib.dir/Release/Raylib.tlog/CustomBuild.command.1.tlog +10 -0
- package/build/Raylib.dir/Release/Raylib.tlog/CustomBuild.read.1.tlog +27 -0
- package/build/Raylib.dir/Release/Raylib.tlog/CustomBuild.write.1.tlog +2 -0
- package/build/Raylib.dir/Release/Raylib.tlog/Raylib.lastbuildstate +2 -0
- package/build/Raylib.dir/Release/Raylib.tlog/Raylib.write.1u.tlog +0 -0
- package/build/Raylib.dir/Release/Raylib.tlog/link.command.1.tlog +0 -0
- package/build/Raylib.dir/Release/Raylib.tlog/link.read.1.tlog +0 -0
- package/build/Raylib.dir/Release/Raylib.tlog/link.write.1.tlog +0 -0
- package/build/Raylib.dir/Release/raudio.obj +0 -0
- package/build/Raylib.dir/Release/rcore.obj +0 -0
- package/build/Raylib.dir/Release/rglfw.obj +0 -0
- package/build/Raylib.dir/Release/rmodels.obj +0 -0
- package/build/Raylib.dir/Release/rshapes.obj +0 -0
- package/build/Raylib.dir/Release/rtext.obj +0 -0
- package/build/Raylib.dir/Release/rtextures.obj +0 -0
- package/build/Raylib.dir/Release/utils.obj +0 -0
- package/build/Raylib.vcxproj +358 -0
- package/build/Raylib.vcxproj.filters +37 -0
- package/build/Release/Raylib.dll +0 -0
- package/build/Release/Raylib.exp +0 -0
- package/build/Release/Raylib.lib +0 -0
- package/build/Release/koffi.exp +0 -0
- package/build/Release/koffi.lib +0 -0
- package/build/Release/koffi.node +0 -0
- package/build/ZERO_CHECK.vcxproj +176 -0
- package/build/ZERO_CHECK.vcxproj.filters +13 -0
- package/build/cmake_install.cmake +44 -0
- package/build/koffi.dir/Release/call_arm64.obj +0 -0
- package/build/koffi.dir/Release/call_x64_sysv.obj +0 -0
- package/build/koffi.dir/Release/call_x64_win.obj +0 -0
- package/build/koffi.dir/Release/call_x64_win_fwd.obj +0 -0
- package/build/koffi.dir/Release/call_x86.obj +0 -0
- package/build/koffi.dir/Release/ffi.obj +0 -0
- package/build/koffi.dir/Release/koffi.node.recipe +14 -0
- package/build/koffi.dir/Release/koffi.tlog/CL.command.1.tlog +0 -0
- package/build/koffi.dir/Release/koffi.tlog/CL.read.1.tlog +0 -0
- package/build/koffi.dir/Release/koffi.tlog/CL.write.1.tlog +0 -0
- package/build/koffi.dir/Release/koffi.tlog/CustomBuild.command.1.tlog +10 -0
- package/build/koffi.dir/Release/koffi.tlog/CustomBuild.read.1.tlog +27 -0
- package/build/koffi.dir/Release/koffi.tlog/CustomBuild.write.1.tlog +2 -0
- package/build/koffi.dir/Release/koffi.tlog/Masm.read.1u.tlog +0 -0
- package/build/koffi.dir/Release/koffi.tlog/Masm.write.1u.tlog +0 -0
- package/build/koffi.dir/Release/koffi.tlog/koffi.lastbuildstate +2 -0
- package/build/koffi.dir/Release/koffi.tlog/koffi.write.1u.tlog +0 -0
- package/build/koffi.dir/Release/koffi.tlog/link.command.1.tlog +0 -0
- package/build/koffi.dir/Release/koffi.tlog/link.read.1.tlog +0 -0
- package/build/koffi.dir/Release/koffi.tlog/link.write.1.tlog +0 -0
- package/build/koffi.dir/Release/libcc.obj +0 -0
- package/build/koffi.dir/Release/util.obj +0 -0
- package/build/koffi.dir/Release/win_delay_load_hook.obj +0 -0
- package/build/koffi.sln +67 -0
- package/build/koffi.vcxproj +363 -0
- package/build/koffi.vcxproj.filters +40 -0
- package/build/x64/Release/ALL_BUILD/ALL_BUILD.recipe +20 -0
- package/build/x64/Release/ALL_BUILD/ALL_BUILD.tlog/ALL_BUILD.lastbuildstate +2 -0
- package/build/x64/Release/ALL_BUILD/ALL_BUILD.tlog/CustomBuild.command.1.tlog +10 -0
- package/build/x64/Release/ALL_BUILD/ALL_BUILD.tlog/CustomBuild.read.1.tlog +27 -0
- package/build/x64/Release/ALL_BUILD/ALL_BUILD.tlog/CustomBuild.write.1.tlog +2 -0
- package/build/x64/Release/ZERO_CHECK/ZERO_CHECK.recipe +11 -0
- package/build/x64/Release/ZERO_CHECK/ZERO_CHECK.tlog/CustomBuild.command.1.tlog +10 -0
- package/build/x64/Release/ZERO_CHECK/ZERO_CHECK.tlog/CustomBuild.read.1.tlog +28 -0
- package/build/x64/Release/ZERO_CHECK/ZERO_CHECK.tlog/CustomBuild.write.1.tlog +2 -0
- package/build/x64/Release/ZERO_CHECK/ZERO_CHECK.tlog/ZERO_CHECK.lastbuildstate +2 -0
- package/package.json +14 -0
- package/src/call.hh +27 -0
- package/src/call_arm64.cc +482 -0
- package/src/call_arm64_fwd.S +115 -0
- package/src/call_x64_sysv.cc +477 -0
- package/src/call_x64_sysv_fwd.S +131 -0
- package/src/call_x64_win.cc +243 -0
- package/src/call_x64_win_fwd.asm +105 -0
- package/src/call_x86.cc +259 -0
- package/src/call_x86_fwd.S +48 -0
- package/src/call_x86_fwd.asm +50 -0
- package/src/ffi.cc +504 -0
- package/src/ffi.hh +135 -0
- package/src/util.cc +296 -0
- package/src/util.hh +80 -0
|
Binary file
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
+
<ItemGroup Label="ProjectConfigurations">
|
|
4
|
+
<ProjectConfiguration Include="Debug|x64">
|
|
5
|
+
<Configuration>Debug</Configuration>
|
|
6
|
+
<Platform>x64</Platform>
|
|
7
|
+
</ProjectConfiguration>
|
|
8
|
+
</ItemGroup>
|
|
9
|
+
<PropertyGroup Label="Globals">
|
|
10
|
+
<ProjectGuid>{CAE07175-D007-4FC3-BFE8-47B392814159}</ProjectGuid>
|
|
11
|
+
<RootNamespace>CompilerIdC</RootNamespace>
|
|
12
|
+
<Keyword>Win32Proj</Keyword>
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
<WindowsTargetPlatformVersion>10.0.19041.0</WindowsTargetPlatformVersion>
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
</PropertyGroup>
|
|
21
|
+
|
|
22
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
23
|
+
<PropertyGroup>
|
|
24
|
+
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
|
|
25
|
+
</PropertyGroup>
|
|
26
|
+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
|
27
|
+
<ConfigurationType>Application</ConfigurationType>
|
|
28
|
+
<PlatformToolset>v142</PlatformToolset>
|
|
29
|
+
<CharacterSet>MultiByte</CharacterSet>
|
|
30
|
+
</PropertyGroup>
|
|
31
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
32
|
+
<ImportGroup Label="ExtensionSettings">
|
|
33
|
+
|
|
34
|
+
</ImportGroup>
|
|
35
|
+
<PropertyGroup>
|
|
36
|
+
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
|
37
|
+
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\</OutDir>
|
|
38
|
+
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Configuration)\</IntDir>
|
|
39
|
+
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkIncremental>
|
|
40
|
+
</PropertyGroup>
|
|
41
|
+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
42
|
+
<ClCompile>
|
|
43
|
+
<Optimization>Disabled</Optimization>
|
|
44
|
+
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
45
|
+
<MinimalRebuild>false</MinimalRebuild>
|
|
46
|
+
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
47
|
+
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
48
|
+
<PrecompiledHeader>
|
|
49
|
+
</PrecompiledHeader>
|
|
50
|
+
<WarningLevel>TurnOffAllWarnings</WarningLevel>
|
|
51
|
+
<DebugInformationFormat>
|
|
52
|
+
</DebugInformationFormat>
|
|
53
|
+
</ClCompile>
|
|
54
|
+
|
|
55
|
+
<Link>
|
|
56
|
+
<GenerateDebugInformation>false</GenerateDebugInformation>
|
|
57
|
+
<SubSystem>Console</SubSystem>
|
|
58
|
+
|
|
59
|
+
</Link>
|
|
60
|
+
<PostBuildEvent>
|
|
61
|
+
<Command>for %%i in (cl.exe) do %40echo CMAKE_C_COMPILER=%%~$PATH:i</Command>
|
|
62
|
+
</PostBuildEvent>
|
|
63
|
+
</ItemDefinitionGroup>
|
|
64
|
+
<ItemGroup>
|
|
65
|
+
<ClCompile Include="CMakeCCompilerId.c" />
|
|
66
|
+
</ItemGroup>
|
|
67
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
68
|
+
<ImportGroup Label="ExtensionTargets">
|
|
69
|
+
|
|
70
|
+
</ImportGroup>
|
|
71
|
+
</Project>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<Project>
|
|
3
|
+
<ProjectOutputs>
|
|
4
|
+
<ProjectOutput>
|
|
5
|
+
<FullPath>C:\Users\Niels\Code\luigi\koffi\build\CMakeFiles\3.23.0-rc1\CompilerIdC\CompilerIdC.exe</FullPath>
|
|
6
|
+
</ProjectOutput>
|
|
7
|
+
</ProjectOutputs>
|
|
8
|
+
<ContentFiles />
|
|
9
|
+
<SatelliteDlls />
|
|
10
|
+
<NonRecipeFileRefs />
|
|
11
|
+
</Project>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|