Skip to content

Commit

Permalink
bind sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
ddkwork committed Jun 19, 2024
1 parent 9305cc6 commit 7fa7e8e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 76 deletions.
9 changes: 9 additions & 0 deletions gengo/bind/sdkMerge/bug/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
cmake_minimum_required(VERSION 3.28)
project(bug C)

set(CMAKE_C_STANDARD 11)

include_directories(.)

add_executable(bug
bug.h)
19 changes: 0 additions & 19 deletions gengo/bind/sdkMerge/bug/Stderr.log
Original file line number Diff line number Diff line change
@@ -1,19 +0,0 @@
bug.h:11:10: error: unknown type name 'UINT64'
11 | UINT64 Flags;
| ^
bug.h:15:14: error: unknown type name 'UINT64'
15 | UINT64 Pcid : 12;
| ^
bug.h:16:14: error: unknown type name 'UINT64'
16 | UINT64 PageFrameNumber : 36;
| ^
bug.h:17:14: error: unknown type name 'UINT64'
17 | UINT64 Reserved1 : 12;
| ^
bug.h:18:14: error: unknown type name 'UINT64'
18 | UINT64 Reserved_2 : 3;
| ^
bug.h:19:14: error: unknown type name 'UINT64'
19 | UINT64 PcidInvalidate : 1;
| ^
6 errors generated.
56 changes: 0 additions & 56 deletions gengo/bind/sdkMerge/bug/bug.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gengo/bind/sdkMerge/bug/bug.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##include <windows.h>
#include <windows.h>

#define X86_FLAGS_RESERVED_BITS 0xffc38028
#define X86_FLAGS_FIXED 0x00000002
Expand Down

0 comments on commit 7fa7e8e

Please sign in to comment.