Skip to main content

C_types

Specifies builtin types, typedefs and aliases.

Types

Name
typedef uint64_tcapi_name

Functions

Name
structattribute((deprecated("newer public key types cannot be represented as a fixed size structure", "char[]")) )
structattribute((deprecated("newer signature types cannot be represented as a fixed size structure", "char[]")) )
structALIGNED(capi_checksum256 )
structALIGNED(capi_checksum160 )
structALIGNED(capi_checksum512 )

Defines

Name
ALIGNED(X)

Types Documentation

typedef capi_name

typedef uint64_t capi_name;

Functions Documentation

function attribute

struct __attribute__(
(deprecated("newer public key types cannot be represented as a fixed size structure", "char[]"))
)

EOSIO Public Key. K1 and R1 keys are 34 bytes. Newer keys can be variable-sized

function attribute

struct __attribute__(
(deprecated("newer signature types cannot be represented as a fixed size structure", "char[]"))
)

EOSIO Signature. K1 and R1 signatures are 66 bytes. Newer signatures can be variable-sized

function ALIGNED

struct ALIGNED(
capi_checksum256
)

256-bit hash

function ALIGNED

struct ALIGNED(
capi_checksum160
)

160-bit hash

function ALIGNED

struct ALIGNED(
capi_checksum512
)

512-bit hash

Macros Documentation

define ALIGNED

#define ALIGNED(
X
)
__attribute__ ((aligned (16))) X

Macro to align/overalign a type to ensure calls to intrinsics with pointers/references are properly aligned


Updated on 2022-12-05 at 15:38:07 +0000