summaryrefslogtreecommitdiff
path: root/src/tests/efl_mono/dummy_numberwrapper.c
blob: 58945e99096762e0764fb615cb65e469efd496eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "libefl_mono_native_test.h"

typedef struct Dummy_Numberwrapper_Data
{
   int number;
} Dummy_Numberwrapper_Data;

void _dummy_numberwrapper_number_set(EINA_UNUSED Eo *obj, Dummy_Numberwrapper_Data *pd, int n)
{
   pd->number = n;
}

int _dummy_numberwrapper_number_get(EINA_UNUSED const Eo *obj, Dummy_Numberwrapper_Data *pd)
{
   return pd->number;
}

#include "dummy_numberwrapper.eo.c"