blob: dbf3df667f68811521542e7c2d99929a607e729a [file] [log] [blame]
Ben Elliston88e17b51998-09-21 01:22:07 +00001/* This file contains the implementation of class Protocol.
Jakub Jelinek85ec4fe2018-01-03 11:03:58 +01002 Copyright (C) 1993-2018 Free Software Foundation, Inc.
Ben Elliston88e17b51998-09-21 01:22:07 +00003
Nathanael Nerode6c82ad22003-05-23 20:04:58 +00004This file is part of GCC.
Ben Elliston88e17b51998-09-21 01:22:07 +00005
Nathanael Nerode6c82ad22003-05-23 20:04:58 +00006GCC is free software; you can redistribute it and/or modify
Ben Elliston88e17b51998-09-21 01:22:07 +00007it under the terms of the GNU General Public License as published by
Jakub Jelinek748086b2009-04-09 17:00:19 +02008the Free Software Foundation; either version 3, or (at your option)
Ben Elliston88e17b51998-09-21 01:22:07 +00009any later version.
10
Nathanael Nerode6c82ad22003-05-23 20:04:58 +000011GCC is distributed in the hope that it will be useful,
Ben Elliston88e17b51998-09-21 01:22:07 +000012but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
Jakub Jelinek748086b2009-04-09 17:00:19 +020016Under Section 7 of GPL version 3, you are granted additional
17permissions described in the GCC Runtime Library Exception, version
183.1, as published by the Free Software Foundation.
19
20You should have received a copy of the GNU General Public License and
21a copy of the GCC Runtime Library Exception along with this program;
22see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
23<http://www.gnu.org/licenses/>. */
Ben Elliston88e17b51998-09-21 01:22:07 +000024
Nicola Pero6dead242010-09-11 22:47:14 +000025#include "objc-private/common.h"
Nicola Peroae422cc2010-10-15 18:24:27 +000026#include "objc/runtime.h"
Ben Elliston88e17b51998-09-21 01:22:07 +000027#include "objc/Protocol.h"
Ben Elliston88e17b51998-09-21 01:22:07 +000028
Ben Elliston88e17b51998-09-21 01:22:07 +000029@implementation Protocol
Nicola Peroc06a8662010-12-19 00:54:27 +000030- (BOOL) isEqual: (id)obj
31{
32 return protocol_isEqual (self, obj);
33}
34@end