revert between 56095 -> 55830 in arch
[AROS.git] / compiler / stdc / __optionallibs.h
blob24abc887b98b1caac4ac01c975e4fae0fa74656b
1 /*
2 Copyright © 2013-2018, The AROS Development Team. All rights reserved.
3 */
5 /* Functions in this include should be used in rest of stdc.library to check
6 if functions of a certain library may be used. If not, alternative should
7 be provided.
8 */
10 #include <proto/intuition.h>
11 #include <clib/alib_protos.h>
12 #include <intuition/intuitionbase.h>
14 static inline LONG stdcEasyRequest(struct IntuitionBase *IntuitionBase, struct Window *window, struct EasyStruct *easyStruct, ULONG *IDCMP_ptr, ...)
16 LONG retval;
17 AROS_SLOWSTACKFORMAT_PRE_USING(IDCMP_ptr, easyStruct->es_TextFormat)
18 retval = EasyRequestArgs(window, easyStruct, IDCMP_ptr, AROS_SLOWSTACKFORMAT_ARG(IDCMP_ptr));
19 AROS_SLOWSTACKFORMAT_POST(IDCMP_ptr)
20 return retval;
23 int __locale_available(struct StdCIntBase *StdCBase);
24 int __intuition_available(struct StdCIntBase *StdCBase);
25 int __optionallibs_close(struct StdCIntBase *StdCBase);