stub-objc.c revision 132718
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 Free Software Foundation, Inc. 6 7This file is part of GCC. 8 9GCC is free software; you can redistribute it and/or modify it under 10the terms of the GNU General Public License as published by the Free 11Software Foundation; either version 2, or (at your option) any later 12version. 13 14GCC is distributed in the hope that it will be useful, but WITHOUT ANY 15WARRANTY; without even the implied warranty of MERCHANTABILITY or 16FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 17for more details. 18 19You should have received a copy of the GNU General Public License 20along with GCC; see the file COPYING. If not, write to the Free 21Software Foundation, 59 Temple Place - Suite 330, Boston, MA 2202111-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 30tree 31lookup_interface (tree arg ATTRIBUTE_UNUSED) 32{ 33 return 0; 34} 35 36tree 37is_class_name (tree arg ATTRIBUTE_UNUSED) 38{ 39 return 0; 40} 41 42tree 43objc_is_object_ptr (tree arg ATTRIBUTE_UNUSED) 44{ 45 return 0; 46} 47 48tree 49lookup_objc_ivar (tree arg ATTRIBUTE_UNUSED) 50{ 51 return 0; 52} 53 54void 55objc_check_decl (tree decl ATTRIBUTE_UNUSED) 56{ 57} 58 59int 60objc_comptypes (tree lhs ATTRIBUTE_UNUSED, tree rhs ATTRIBUTE_UNUSED, 61 int reflexive ATTRIBUTE_UNUSED) 62{ 63 return -1; 64} 65 66tree 67objc_message_selector (void) 68{ 69 return 0; 70} 71 72