Prokee Parameter Types
Jump to navigation
Jump to search
Contents
Integers
| bmc | c |
|---|---|
| b | bool |
| c | char |
| w | wchar_t |
| s | short |
| i | int |
| l | long int |
| ll | long long |
Unsigned Integers
Unsigned integer types are specified by prepending a 'u'.
| bmc | c |
|---|---|
| uc | unsigned char |
| us | unsigned short |
| ui | unsigned int |
| ul | unsigned long int |
| ull | unsigned long long |
Floating-point Numbers
| bmc | c |
|---|---|
| f | float |
| d | double |
Others
| bmc | c |
|---|---|
| v | void |
| vpo | special object pointer |
Pointers
Pointers are built by appending one ore more 'p' to the type.
E.g. cp for char * or ucpp for unsigned char **.
For const types a 'c' is added at the beginning.
E.g. ccp for const char *.
Examples (Void Pointers)
The following table shows void pointers.
Pointers of other types can be built analogously.
| bmc | c |
|---|---|
| vp | void * |
| vpp | void ** |
| vppp | void *** |
| cvp | const void * |
| cvpp | const void ** |
| cvppp | const void *** |
Template Types
Template parameters are stated with 't'.
| bmc | c |
|---|---|
| t | T |
| ctp | const T * |
| ... | ... |
Strings
| bmc | c |
|---|---|
| c16p | char16_t * |
| c32p | char32_t * |
| ... | ... |
Manual Type Definitions
| bmc | c |
|---|---|
| manu, manup | |
| manupp | |
| manu_copy | |
| manu_copy_id |
Function Pointers
| bmc | c |
|---|---|
| func |
Variadic Functions
| bmc | c |
|---|---|
| VARARG | ... |