Merging NList MCC 0.119 into the main branch.
[AROS.git] / test / library / peropenervalue.c
blobdd336f01c4621edce26c6ed032f7b4bdbbc2081d
1 #include <proto/peropener.h>
2 #include "peropenerbase.h"
4 void PeropenerSetValue(int value)
6 struct PeropenerBase *PeropenerBase = (struct PeropenerBase *)__aros_getbase_PeropenerBase();
8 PeropenerBase->value = value;
12 int PeropenerGetValue(void)
14 struct PeropenerBase *PeropenerBase = (struct PeropenerBase *)__aros_getbase_PeropenerBase();
16 return PeropenerBase->value;