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 indicating the block type.

Description:

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

Returns:

A pointer to the string representation.