intuition.library: implement EasyReqest and BuildEasyRequest that are x64/arm compatible
[AROS.git] / test / library / pertaskvalue.c
blob25e858d9fa53178100e07db79b74e0d4eb0dae55
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <proto/pertask.h>
7 #include "pertaskbase.h"
9 void PertaskSetValue(int value)
11 struct PertaskBase *PertaskBase = (struct PertaskBase *)__aros_getbase_PertaskBase();
13 PertaskBase->value = value;
17 int PertaskGetValue(void)
19 struct PertaskBase *PertaskBase = (struct PertaskBase *)__aros_getbase_PertaskBase();
21 return PertaskBase->value;