Gambas type of the argument | Constant used | C type used | Note |
---|---|---|---|
Boolean | GB_T_BOOLEAN | int | 0 means FALSE , any other value means TRUE |
Integer | GB_T_INTEGER | int | |
Float | GB_T_FLOAT | double | |
String | GB_T_STRING | char * , int | The first value is the string pointer, the second is the string length. If the string length can be zero, it is automatically calculated with strlen() |