c-common.h: Update comments about ObjC/ObjC++ entry points.
[platform/upstream/gcc.git] / gcc / stub-objc.c
1 /* Stub functions for Objective-C and Objective-C++ routines
2    that are called from within the C and C++ front-ends,
3    respectively.
4    Copyright (C) 1991, 1995, 1997, 1998,
5    1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
6
7 This file is part of GCC.
8
9 GCC is free software; you can redistribute it and/or modify it under
10 the terms of the GNU General Public License as published by the Free
11 Software Foundation; either version 2, or (at your option) any later
12 version.
13
14 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
15 WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
17 for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with GCC; see the file COPYING.  If not, write to the Free
21 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
22 02111-1307, USA.  */
23
24 #include "config.h"
25 #include "system.h"
26 #include "coretypes.h"
27 #include "tree.h"
28 #include "c-common.h"
29
30 tree
31 lookup_interface (tree ARG_UNUSED (arg))
32 {
33   return 0;
34 }
35
36 tree
37 is_class_name (tree ARG_UNUSED (arg))
38 {
39   return 0;
40 }
41
42 tree
43 objc_is_object_ptr (tree ARG_UNUSED (arg))
44 {
45   return 0;
46 }
47
48 tree
49 lookup_objc_ivar (tree ARG_UNUSED (arg))
50 {
51   return 0;
52 }
53
54 void
55 objc_check_decl (tree ARG_UNUSED (decl))
56 {
57 }
58    
59 int
60 objc_is_reserved_word (tree ARG_UNUSED (ident))
61 {
62   return 0;
63 }
64
65 int
66 objc_comptypes (tree ARG_UNUSED (lhs), tree ARG_UNUSED (rhs),
67                 int ARG_UNUSED (reflexive))
68
69   return -1;
70 }
71
72 tree
73 objc_message_selector (void)
74
75   return 0;
76 }
77
78 void
79 objc_clear_super_receiver (void)
80 {
81 }
82
83 int
84 objc_is_public (tree ARG_UNUSED (expr), tree ARG_UNUSED (identifier))
85 {
86   return 1;
87 }