qvm_block_type_name()

Return a string representation of a block type

Synopsis:

#include <qvm/utils.h>
const char* qvm_block_type_name(unsigned type)

Arguments:

type
A qvm_state_types value.

Library:

Provided by qvm; no external library is required.

Description:

This function is useful for showing block information (e.g., for debugging).

Returns:

string A pointer to a string representation.