Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (5 sloc) 115 Bytes
#include "caml/mlvalues.h"
static int x = 0;
CAMLprim value c_counter(value nothing) {
return Val_long(x++);
}