Home | History | Annotate | Line # | Download | only in objc-private
      1   1.1  mrg /* GNU Objective C Runtime protocols - Private functions
      2  1.10  mrg    Copyright (C) 2010-2022 Free Software Foundation, Inc.
      3   1.1  mrg    Contributed by Nicola Pero <nicola.pero (at) meta-innovation.com>
      4   1.1  mrg 
      5   1.1  mrg This file is part of GCC.
      6   1.1  mrg 
      7   1.1  mrg GCC is free software; you can redistribute it and/or modify it under the
      8   1.1  mrg terms of the GNU General Public License as published by the Free Software
      9   1.1  mrg Foundation; either version 3, or (at your option) any later version.
     10   1.1  mrg 
     11   1.1  mrg GCC is distributed in the hope that it will be useful, but WITHOUT ANY
     12   1.1  mrg WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
     13   1.1  mrg FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
     14   1.1  mrg details.
     15   1.1  mrg 
     16   1.1  mrg Under Section 7 of GPL version 3, you are granted additional
     17   1.1  mrg permissions described in the GCC Runtime Library Exception, version
     18   1.1  mrg 3.1, as published by the Free Software Foundation.
     19   1.1  mrg 
     20   1.1  mrg You should have received a copy of the GNU General Public License and
     21   1.1  mrg a copy of the GCC Runtime Library Exception along with this program;
     22   1.1  mrg see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
     23   1.1  mrg <http://www.gnu.org/licenses/>.  */
     24   1.1  mrg 
     25   1.1  mrg #ifndef __objc_private_protocols_INCLUDE_GNU
     26   1.1  mrg #define __objc_private_protocols_INCLUDE_GNU
     27   1.1  mrg 
     28   1.1  mrg /* This function needs to be called at startup by init.c.  */
     29   1.1  mrg void
     30   1.1  mrg __objc_protocols_init (void);
     31   1.1  mrg 
     32   1.1  mrg /* This function adds a protocol to the internal hashtable of
     33   1.1  mrg    protocols by name, which allows objc_getProtocol(name) to be
     34   1.1  mrg    implemented efficiently.  */
     35   1.1  mrg void
     36   1.1  mrg __objc_protocols_add_protocol (const char *name, struct objc_protocol *object);
     37   1.1  mrg 
     38   1.1  mrg #endif /* not __objc_private_protocols_INCLUDE_GNU */
     39