Skip to content

Commit 9d5c973

Browse files
committed
add a tool for gen .pub file
1 parent 019c482 commit 9d5c973

File tree

10 files changed

+1715
-0
lines changed

10 files changed

+1715
-0
lines changed

c/c.pub

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
unsafe.Pointer Pointer
2+
*FILE FilePtr
3+
FILE FILE
4+
uintptr SizeT
5+
uintptr IntptrT
6+
uintptr UintptrT
7+
int8 Int8T
8+
int16 Int16T
9+
int32 Int32T
10+
int64 Int64T
11+
uint8 Uint8T
12+
uint16 Uint16T
13+
uint32 Uint32T
14+
uint64 Uint64T
15+
LongLong IntmaxT
16+
UlongLong UintmaxT
17+
Option Option

c/setjmp/setjmp.pub

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
C.jmp_buf JmpBuf
2+
C.sigjmp_buf SigjmpBuf

c/signal/signal.pub

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
func(c.Int) SignalHandler

c/sqlite/sqlite.pub

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Sqlite3 Sqlite3
2+
Stmt Stmt
3+
c.Int Errno
4+
c.Int OpenFlags
5+
c.Int PrepareFlags

c/sys/sys.pub

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
syscall.FdSet FdSet
2+
syscall.Timeval Timeval

0 commit comments

Comments
 (0)