comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:0cfcc391201f
1 dyncall go bindings
2 Copyright 2014 Tassilo Philipp
3 February 23, 2014
4
5
6 TYPE CONVERSIONS (and reserved signature char)
7
8 SIG | FROM GO | C/C++ | TO GO
9 ----+---------------------+--------------------+----------------
10 'v' | | void |
11 'B' | bool | bool | bool
12 'c' | int8,C.schar | char | int8
13 'C' | uint8,byte,C.uchar | unsigned char | uint8,byte
14 's' | int16,C.sshort | short | int16
15 'S' | uint16,C.ushort | unsigned short | uint16
16 'i' | int32,C.sint | int | int32
17 'I' | uint32,C.uint | unsigned int | uint32
18 'j' | int32,rune,C.slong | long | int32,rune
19 'J' | uint32,C.ulong | unsigned long | uint32
20 'l' | int64,C.slonglong | long long | int64
21 'L' | uint64,C.ulonglong | unsigned long long | uint64
22 'f' | float32,C.float | float | float32
23 'd' | float64,C.double | double | float64
24 'p' | *,[],unsafe.Pointer | void* | unsafe.Pointer
25 'Z' | string | void* | string
26
27
28 ToDo:
29 - structs
30 - callf wrap