al_ref_info(3) al_ref_info(3)

al_ref_info - Allegro 5 API

#include <allegro5/allegro.h>
const ALLEGRO_USTR *al_ref_info(const ALLEGRO_USTR_INFO *info)

Create a read-only string that references the storage of another ALLEGRO_USTR(3) string that has already been stored in the ALLEGRO_USTR_INFO(3) structure.

The string is valid until the underlying string is modified or destroyed.

al_ref_cstr(3), al_ref_buffer(3), al_ref_ustr(3)

Allegro reference manual