1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#pragma once #ifdef __cplusplus extern "C" { #endif typedef struct _Storer Storer; Storer* storer_new(); void storer_destroy(Storer *s); int storer_get_value(Storer *s); void storer_set_value(Storer *s, int v); #ifdef __cplusplus } #endif