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.
Files changed (131) hide show
  1. package/CMakeLists.txt +94 -0
  2. package/README.md +153 -0
  3. package/build/ALL_BUILD.vcxproj +190 -0
  4. package/build/ALL_BUILD.vcxproj.filters +8 -0
  5. package/build/CMakeCache.txt +429 -0
  6. package/build/CMakeFiles/3.23.0-rc1/CMakeASMCompiler.cmake +20 -0
  7. package/build/CMakeFiles/3.23.0-rc1/CMakeASM_MASMCompiler.cmake +20 -0
  8. package/build/CMakeFiles/3.23.0-rc1/CMakeCCompiler.cmake +72 -0
  9. package/build/CMakeFiles/3.23.0-rc1/CMakeCXXCompiler.cmake +83 -0
  10. package/build/CMakeFiles/3.23.0-rc1/CMakeDetermineCompilerABI_C.bin +0 -0
  11. package/build/CMakeFiles/3.23.0-rc1/CMakeDetermineCompilerABI_CXX.bin +0 -0
  12. package/build/CMakeFiles/3.23.0-rc1/CMakeRCCompiler.cmake +6 -0
  13. package/build/CMakeFiles/3.23.0-rc1/CMakeSystem.cmake +15 -0
  14. package/build/CMakeFiles/3.23.0-rc1/CompilerIdC/CMakeCCompilerId.c +828 -0
  15. package/build/CMakeFiles/3.23.0-rc1/CompilerIdC/CompilerIdC.exe +0 -0
  16. package/build/CMakeFiles/3.23.0-rc1/CompilerIdC/CompilerIdC.vcxproj +71 -0
  17. package/build/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CMakeCCompilerId.obj +0 -0
  18. package/build/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CompilerIdC.exe.recipe +11 -0
  19. package/build/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CompilerIdC.tlog/CL.command.1.tlog +0 -0
  20. package/build/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CompilerIdC.tlog/CL.read.1.tlog +0 -0
  21. package/build/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CompilerIdC.tlog/CL.write.1.tlog +0 -0
  22. package/build/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CompilerIdC.tlog/CompilerIdC.lastbuildstate +2 -0
  23. package/build/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CompilerIdC.tlog/link.command.1.tlog +0 -0
  24. package/build/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CompilerIdC.tlog/link.read.1.tlog +0 -0
  25. package/build/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CompilerIdC.tlog/link.write.1.tlog +0 -0
  26. package/build/CMakeFiles/3.23.0-rc1/CompilerIdCXX/CMakeCXXCompilerId.cpp +816 -0
  27. package/build/CMakeFiles/3.23.0-rc1/CompilerIdCXX/CompilerIdCXX.exe +0 -0
  28. package/build/CMakeFiles/3.23.0-rc1/CompilerIdCXX/CompilerIdCXX.vcxproj +71 -0
  29. package/build/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CMakeCXXCompilerId.obj +0 -0
  30. package/build/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CompilerIdCXX.exe.recipe +11 -0
  31. package/build/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CompilerIdCXX.tlog/CL.command.1.tlog +0 -0
  32. package/build/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CompilerIdCXX.tlog/CL.read.1.tlog +0 -0
  33. package/build/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CompilerIdCXX.tlog/CL.write.1.tlog +0 -0
  34. package/build/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CompilerIdCXX.tlog/CompilerIdCXX.lastbuildstate +2 -0
  35. package/build/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CompilerIdCXX.tlog/link.command.1.tlog +0 -0
  36. package/build/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CompilerIdCXX.tlog/link.read.1.tlog +0 -0
  37. package/build/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CompilerIdCXX.tlog/link.write.1.tlog +0 -0
  38. package/build/CMakeFiles/3.23.0-rc1/VCTargetsPath.txt +1 -0
  39. package/build/CMakeFiles/3.23.0-rc1/VCTargetsPath.vcxproj +31 -0
  40. package/build/CMakeFiles/3.23.0-rc1/x64/Debug/VCTargetsPath.recipe +11 -0
  41. package/build/CMakeFiles/3.23.0-rc1/x64/Debug/VCTargetsPath.tlog/VCTargetsPath.lastbuildstate +2 -0
  42. package/build/CMakeFiles/41bcd16856091d4a38fd1f71fbe2f202/generate.stamp.rule +1 -0
  43. package/build/CMakeFiles/CMakeError.log +108 -0
  44. package/build/CMakeFiles/CMakeOutput.log +413 -0
  45. package/build/CMakeFiles/TargetDirectories.txt +4 -0
  46. package/build/CMakeFiles/cmake.check_cache +1 -0
  47. package/build/CMakeFiles/generate.stamp +1 -0
  48. package/build/CMakeFiles/generate.stamp.depend +28 -0
  49. package/build/CMakeFiles/generate.stamp.list +1 -0
  50. package/build/Raylib.dir/Release/Raylib.dll.recipe +14 -0
  51. package/build/Raylib.dir/Release/Raylib.tlog/CL.command.1.tlog +0 -0
  52. package/build/Raylib.dir/Release/Raylib.tlog/CL.read.1.tlog +0 -0
  53. package/build/Raylib.dir/Release/Raylib.tlog/CL.write.1.tlog +0 -0
  54. package/build/Raylib.dir/Release/Raylib.tlog/CustomBuild.command.1.tlog +10 -0
  55. package/build/Raylib.dir/Release/Raylib.tlog/CustomBuild.read.1.tlog +27 -0
  56. package/build/Raylib.dir/Release/Raylib.tlog/CustomBuild.write.1.tlog +2 -0
  57. package/build/Raylib.dir/Release/Raylib.tlog/Raylib.lastbuildstate +2 -0
  58. package/build/Raylib.dir/Release/Raylib.tlog/Raylib.write.1u.tlog +0 -0
  59. package/build/Raylib.dir/Release/Raylib.tlog/link.command.1.tlog +0 -0
  60. package/build/Raylib.dir/Release/Raylib.tlog/link.read.1.tlog +0 -0
  61. package/build/Raylib.dir/Release/Raylib.tlog/link.write.1.tlog +0 -0
  62. package/build/Raylib.dir/Release/raudio.obj +0 -0
  63. package/build/Raylib.dir/Release/rcore.obj +0 -0
  64. package/build/Raylib.dir/Release/rglfw.obj +0 -0
  65. package/build/Raylib.dir/Release/rmodels.obj +0 -0
  66. package/build/Raylib.dir/Release/rshapes.obj +0 -0
  67. package/build/Raylib.dir/Release/rtext.obj +0 -0
  68. package/build/Raylib.dir/Release/rtextures.obj +0 -0
  69. package/build/Raylib.dir/Release/utils.obj +0 -0
  70. package/build/Raylib.vcxproj +358 -0
  71. package/build/Raylib.vcxproj.filters +37 -0
  72. package/build/Release/Raylib.dll +0 -0
  73. package/build/Release/Raylib.exp +0 -0
  74. package/build/Release/Raylib.lib +0 -0
  75. package/build/Release/koffi.exp +0 -0
  76. package/build/Release/koffi.lib +0 -0
  77. package/build/Release/koffi.node +0 -0
  78. package/build/ZERO_CHECK.vcxproj +176 -0
  79. package/build/ZERO_CHECK.vcxproj.filters +13 -0
  80. package/build/cmake_install.cmake +44 -0
  81. package/build/koffi.dir/Release/call_arm64.obj +0 -0
  82. package/build/koffi.dir/Release/call_x64_sysv.obj +0 -0
  83. package/build/koffi.dir/Release/call_x64_win.obj +0 -0
  84. package/build/koffi.dir/Release/call_x64_win_fwd.obj +0 -0
  85. package/build/koffi.dir/Release/call_x86.obj +0 -0
  86. package/build/koffi.dir/Release/ffi.obj +0 -0
  87. package/build/koffi.dir/Release/koffi.node.recipe +14 -0
  88. package/build/koffi.dir/Release/koffi.tlog/CL.command.1.tlog +0 -0
  89. package/build/koffi.dir/Release/koffi.tlog/CL.read.1.tlog +0 -0
  90. package/build/koffi.dir/Release/koffi.tlog/CL.write.1.tlog +0 -0
  91. package/build/koffi.dir/Release/koffi.tlog/CustomBuild.command.1.tlog +10 -0
  92. package/build/koffi.dir/Release/koffi.tlog/CustomBuild.read.1.tlog +27 -0
  93. package/build/koffi.dir/Release/koffi.tlog/CustomBuild.write.1.tlog +2 -0
  94. package/build/koffi.dir/Release/koffi.tlog/Masm.read.1u.tlog +0 -0
  95. package/build/koffi.dir/Release/koffi.tlog/Masm.write.1u.tlog +0 -0
  96. package/build/koffi.dir/Release/koffi.tlog/koffi.lastbuildstate +2 -0
  97. package/build/koffi.dir/Release/koffi.tlog/koffi.write.1u.tlog +0 -0
  98. package/build/koffi.dir/Release/koffi.tlog/link.command.1.tlog +0 -0
  99. package/build/koffi.dir/Release/koffi.tlog/link.read.1.tlog +0 -0
  100. package/build/koffi.dir/Release/koffi.tlog/link.write.1.tlog +0 -0
  101. package/build/koffi.dir/Release/libcc.obj +0 -0
  102. package/build/koffi.dir/Release/util.obj +0 -0
  103. package/build/koffi.dir/Release/win_delay_load_hook.obj +0 -0
  104. package/build/koffi.sln +67 -0
  105. package/build/koffi.vcxproj +363 -0
  106. package/build/koffi.vcxproj.filters +40 -0
  107. package/build/x64/Release/ALL_BUILD/ALL_BUILD.recipe +20 -0
  108. package/build/x64/Release/ALL_BUILD/ALL_BUILD.tlog/ALL_BUILD.lastbuildstate +2 -0
  109. package/build/x64/Release/ALL_BUILD/ALL_BUILD.tlog/CustomBuild.command.1.tlog +10 -0
  110. package/build/x64/Release/ALL_BUILD/ALL_BUILD.tlog/CustomBuild.read.1.tlog +27 -0
  111. package/build/x64/Release/ALL_BUILD/ALL_BUILD.tlog/CustomBuild.write.1.tlog +2 -0
  112. package/build/x64/Release/ZERO_CHECK/ZERO_CHECK.recipe +11 -0
  113. package/build/x64/Release/ZERO_CHECK/ZERO_CHECK.tlog/CustomBuild.command.1.tlog +10 -0
  114. package/build/x64/Release/ZERO_CHECK/ZERO_CHECK.tlog/CustomBuild.read.1.tlog +28 -0
  115. package/build/x64/Release/ZERO_CHECK/ZERO_CHECK.tlog/CustomBuild.write.1.tlog +2 -0
  116. package/build/x64/Release/ZERO_CHECK/ZERO_CHECK.tlog/ZERO_CHECK.lastbuildstate +2 -0
  117. package/package.json +14 -0
  118. package/src/call.hh +27 -0
  119. package/src/call_arm64.cc +482 -0
  120. package/src/call_arm64_fwd.S +115 -0
  121. package/src/call_x64_sysv.cc +477 -0
  122. package/src/call_x64_sysv_fwd.S +131 -0
  123. package/src/call_x64_win.cc +243 -0
  124. package/src/call_x64_win_fwd.asm +105 -0
  125. package/src/call_x86.cc +259 -0
  126. package/src/call_x86_fwd.S +48 -0
  127. package/src/call_x86_fwd.asm +50 -0
  128. package/src/ffi.cc +504 -0
  129. package/src/ffi.hh +135 -0
  130. package/src/util.cc +296 -0
  131. package/src/util.hh +80 -0
@@ -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>
@@ -0,0 +1,2 @@
1
+ PlatformToolSet=v142:VCToolArchitecture=Native64Bit:VCToolsVersion=14.29.30133:VCServicingVersionCrtHeaders=14.29.30136:TargetPlatformVersion=10.0.19041.0:
2
+ Debug|x64|C:\Users\Niels\Code\luigi\koffi\build\CMakeFiles\3.23.0-rc1\CompilerIdC\|