gbuffer_setmark()

gbuffer_setmark()#

Sets a marker value in the given gbuffer_t instance.

Prototype

void gbuffer_setmark(
    gbuffer_t *gbuf,
    size_t     mark
);

Parameters

Key

Type

Description

gbuf

gbuffer_t *

Pointer to the gbuffer_t instance where the marker will be set.

mark

size_t

The marker value to set in the gbuffer_t instance.


Return Value

This function does not return a value.

Notes

The marker value can be used for custom tracking or reference purposes within the gbuffer_t instance.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples