|
|
1.1 root 1: /*
2: * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
3: *
4: * @APPLE_LICENSE_HEADER_START@
5: *
6: * "Portions Copyright (c) 1999 Apple Computer, Inc. All Rights
7: * Reserved. This file contains Original Code and/or Modifications of
8: * Original Code as defined in and that are subject to the Apple Public
9: * Source License Version 1.0 (the 'License'). You may not use this file
10: * except in compliance with the License. Please obtain a copy of the
11: * License at http://www.apple.com/publicsource and read it before using
12: * this file.
13: *
14: * The Original Code and all software distributed under the License are
15: * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
16: * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
17: * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
18: * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
19: * License for the specific language governing rights and limitations
20: * under the License."
21: *
22: * @APPLE_LICENSE_HEADER_END@
23: */
24: #include <objc/objc.h>
25: #include "rettest.h"
26:
27: #import "ret2.h"
28:
29: @implementation SuperTest : MsgTest
30:
31: // scalar types
32: #define THIS_CLASS [SuperTest class]
33: makeSuperMethod(char)
34: makeSuperMethod(uchar_t)
35: makeSuperMethod(short)
36: makeSuperMethod(ushort_t)
37: makeSuperMethod(int)
38: makeSuperMethod(unsigned)
39: makeSuperMethod(long)
40: makeSuperMethod(ulong_t)
41: makeSuperMethod(float)
42: makeSuperMethod(double)
43: makeSuperMethod(id)
44: makeSuperMethod(STR)
45:
46: // structure types
47: makeSuperMethod(S_BITS_16_t)
48: makeSuperMethod(S_BITS_32_t)
49: makeSuperMethod(S_BITS_64_t)
50: makeSuperMethod(S_BITS_BIG_t)
51:
52: // union types
53: makeSuperMethod(U_BITS_16_t)
54: makeSuperMethod(U_BITS_32_t)
55: makeSuperMethod(U_BITS_64_t)
56: makeSuperMethod(U_BITS_BIG_t)
57:
58: // enum types
59: makeSuperMethod(E_BITS_8_t)
60: makeSuperMethod(E_BITS_16_t)
61: #ifdef INT_32
62: makeSuperMethod(E_BITS_32_t)
63: #endif
64:
65: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.