summaryrefslogtreecommitdiff
path: root/src/benchmarks/eo/class_simple.h
blob: 1d78188fe1dbc3ffe508bebac2ca6e037f97d0f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef SIMPLE_H
#define SIMPLE_H

typedef struct
{
   int a;
} Simple_Public_Data;

EAPI void simple_a_set(int a);
/* Calls simple_other_call(other, obj) and then simple_other_call(obj, other)
 * for 'times' times in order to grow the call stack on other objects. */
EAPI void simple_other_call(Eo *other, int times);

#define SIMPLE_CLASS simple_class_get()
const Eo_Class *simple_class_get(void);

#endif