09.09.2016, 10:19
You need to provide a length for it because sizeof doesn't work with enum-arrays.
EDIT: The function should return 0 for failure instead of crashing, this needs to be fixed because many people tend to forget the size.
Код:
cache_get_value(rowid, "field_name", enum_array, size);