]> git.ipfire.org Git - thirdparty/gcc.git/blame - libobjc/nil_method.c
1998-09-21 Ben Elliston <bje@cygnus.com>
[thirdparty/gcc.git] / libobjc / nil_method.c
CommitLineData
88e17b57
BE
1/* GNU Objective C Runtime nil receiver function
2 Copyright (C) 1993, 1995, 1996 Free Software Foundation, Inc.
3 Contributed by Kresten Krab Thorup
4
5This file is part of GNU CC.
6
7GNU CC is free software; you can redistribute it and/or modify it under the
8terms of the GNU General Public License as published by the Free Software
9Foundation; either version 2, or (at your option) any later version.
10
11GNU CC is distributed in the hope that it will be useful, but WITHOUT ANY
12WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14details.
15
16You should have received a copy of the GNU General Public License along with
17GNU CC; see the file COPYING. If not, write to the Free Software
18Foundation, 59 Temple Place - Suite 330,
19Boston, MA 02111-1307, USA. */
20
21/* As a special exception, if you link this library with files compiled with
22 GCC to produce an executable, this does not cause the resulting executable
23 to be covered by the GNU General Public License. This exception does not
24 however invalidate any other reasons why the executable file might be
25 covered by the GNU General Public License. */
26
27/* This is the nil method, the function that is called when the receiver
28 of a method is nil */
29
30#include "runtime.h"
31
32id
33nil_method(id receiver, SEL op, ...)
34{
35 return receiver;
36}
37
38
39
40