Merging NList 0.111 into main branch.
[AROS-Contrib.git] / mui / classes / nlist / nlistviews_mcp / vastubs.c
blobf14c8909ce1cf89f2fe5ec22c7de989a3b7e42a3
1 /***************************************************************************
3 NListviews.mcp - New Listview MUI Custom Class Preferences
4 Registered MUI class, Serial Number: 1d51 (0x9d510001 to 0x9d51001F
5 and 0x9d510101 to 0x9d51013F)
7 Copyright (C) 1996-2001 by Gilles Masson
8 Copyright (C) 2001-2007 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); }
45 #else
46 #error "VARGS stubs are only save on m68k systems!"
47 #endif
48 #endif