Fixed building of catalogs.
[AROS.git] / workbench / classes / zune / nlist / nlist_mcc / vastubs.c
blob4626e0956b00b54b9d3c063d4595ff733dfdd38b
1 /***************************************************************************
3 NList.mcc - New List MUI Custom Class
4 Registered MUI class, Serial Number: 1d51 0x9d510030 to 0x9d5100A0
5 0x9d5100C0 to 0x9d5100FF
7 Copyright (C) 1996-2001 by Gilles Masson
8 Copyright (C) 2001-2013 by NList Open Source Team
10 This library is free software; you can redistribute it and/or
11 modify it under the terms of the GNU Lesser General Public
12 License as published by the Free Software Foundation; either
13 version 2.1 of the License, or (at your option) any later version.
15 This library is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Lesser General Public License for more details.
20 NList classes Support Site: http://www.sf.net/projects/nlist-classes
22 $Id$
24 ***************************************************************************/
26 #if !defined(__AROS__) && (defined(__VBCC__) || defined(NO_INLINE_STDARG))
27 #if defined(_M68000) || defined(__M68000) || defined(__mc68000)
29 #include <exec/types.h>
31 /* FIX V45 breakage... */
32 #if INCLUDE_VERSION < 45
33 #define MY_CONST_STRPTR CONST_STRPTR
34 #else
35 #define MY_CONST_STRPTR CONST STRPTR
36 #endif
38 #include <proto/intuition.h>
40 APTR NewObject( struct IClass *classPtr, CONST_STRPTR classID, Tag tag1, ... )
41 { return NewObjectA(classPtr, classID, (struct TagItem *)&tag1); }
42 ULONG SetAttrs( APTR object, ULONG tag1, ... )
43 { return SetAttrsA(object, (struct TagItem *)&tag1); }
44 VOID SetWindowPointer( struct Window *win, Tag tag1, ... )
45 { SetWindowPointerA(win, (struct TagItem *)&tag1); }
47 #include <proto/graphics.h>
49 LONG ObtainBestPen( struct ColorMap *cm, ULONG r, ULONG g, ULONG b, Tag tag1Type, ... )
50 { return ObtainBestPenA(cm, r, g, b, (CONST struct TagItem *)&tag1Type); }
52 #include <proto/dos.h>
53 struct Process *CreateNewProcTags( ULONG tag1, ... )
54 { return CreateNewProc((struct TagItem *)&tag1); }
56 #else
57 #error "VARGS stubs are only save on m68k systems!"
58 #endif
59 #endif