0
|
1 --- Get type information from type signature.
|
|
2 --
|
|
3 -- @param typesignature string representing type informations. Fundamental type signatures are represented by characters such as 'c' for C char, 's' for C short, 'i' for C int, 'j' for C long
|
|
4 -- 'l' for C long long, 'f' for C float, 'd' for C double, 'p' for C pointer,
|
|
5 -- 'B' for ISO C99 _Bool_t/C++ bool, 'v' for C void. Upper-case characters 'CSIJL' refer to the corresponding unsigned C type.
|
|
6 -- Function signature syntax: 'name(argtypes..)resulttypes..;'
|
|
7 -- Structure signature syntax: 'name{fieldtypes..)fieldnames..;' the fieldnames are space separated text tokens.
|
|
8 -- Named objects can be refered using '<name>' syntax.
|
|
9 -- pointer types can be specified by prefixing multiple '*'.
|
|
10 function typeinfo(typesignature)
|
|
11 end
|
|
12
|
|
13
|