2 Copyright © 2012, The AROS Development Team. All rights reserved.
5 Desc: arosc.library - init code
7 #include <proto/exec.h>
9 #include <aros/symbolsets.h>
11 #include "__arosc_privdata.h"
13 static int __arosc_open(struct aroscbase
*aroscbase
)
15 aroscbase
->acb_internalpool
= CreatePool(MEMF_PUBLIC
, 256, 256);
17 return aroscbase
->acb_internalpool
!= NULL
;
20 static void __arosc_close(struct aroscbase
*aroscbase
)
22 DeletePool(aroscbase
->acb_internalpool
);
25 ADD2OPENLIB(__arosc_open
, -50);
26 ADD2CLOSELIB(__arosc_close
, -50);