annotate go/godc/README.txt @ 0:0cfcc391201f

initial from svn dyncall-1745
author Daniel Adler
date Thu, 19 Mar 2015 22:26:28 +0100
parents
children 8a45a05ff64e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
1 dyncall go bindings
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2 Copyright 2014 Tassilo Philipp
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3 February 23, 2014
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
4
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6 TYPE CONVERSIONS (and reserved signature char)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
8 SIG | FROM GO | C/C++ | TO GO
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
9 ----+---------------------+--------------------+----------------
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
10 'v' | | void |
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
11 'B' | bool | bool | bool
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
12 'c' | int8,C.schar | char | int8
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
13 'C' | uint8,byte,C.uchar | unsigned char | uint8,byte
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
14 's' | int16,C.sshort | short | int16
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
15 'S' | uint16,C.ushort | unsigned short | uint16
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
16 'i' | int32,C.sint | int | int32
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
17 'I' | uint32,C.uint | unsigned int | uint32
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
18 'j' | int32,rune,C.slong | long | int32,rune
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
19 'J' | uint32,C.ulong | unsigned long | uint32
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
20 'l' | int64,C.slonglong | long long | int64
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
21 'L' | uint64,C.ulonglong | unsigned long long | uint64
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
22 'f' | float32,C.float | float | float32
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
23 'd' | float64,C.double | double | float64
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
24 'p' | *,[],unsafe.Pointer | void* | unsafe.Pointer
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
25 'Z' | string | void* | string
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
26
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
27
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
28 ToDo:
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
29 - structs
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
30 - callf wrap