diff options
author | Nicola Pero <nicola.pero@meta-innovation.com> | 2010-10-24 17:23:19 +0000 |
---|---|---|
committer | Nicola Pero <nicola@gcc.gnu.org> | 2010-10-24 17:23:19 +0000 |
commit | 682e805aafd694fda5be69267d11a260de607aa6 (patch) | |
tree | a3b3ae3b676280309507a41528069c3672f970fe /libobjc/objc-private/accessors.h | |
parent | 0f237806af83d337bde05c3fb079385c8cdbd09c (diff) | |
download | gcc-682e805aafd694fda5be69267d11a260de607aa6.zip gcc-682e805aafd694fda5be69267d11a260de607aa6.tar.gz gcc-682e805aafd694fda5be69267d11a260de607aa6.tar.bz2 |
Makefile.in (OBJC_SOURCE_FILES): Added accessors.m.
2010-10-24 Nicola Pero <nicola.pero@meta-innovation.com>
* Makefile.in (OBJC_SOURCE_FILES): Added accessors.m.
* accessors.m: New.
* init.c: Include objc-private/accessors.h.
(__objc_exec_class): Call __objc_accessors_init.
* objc-private/accessors.h: New.
From-SVN: r165903
Diffstat (limited to 'libobjc/objc-private/accessors.h')
-rw-r--r-- | libobjc/objc-private/accessors.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/libobjc/objc-private/accessors.h b/libobjc/objc-private/accessors.h new file mode 100644 index 0000000..a7bcca2 --- /dev/null +++ b/libobjc/objc-private/accessors.h @@ -0,0 +1,40 @@ +/* GNU Objective C Runtime accessors - Private Declarations + Copyright (C) 2010 Free Software Foundation, Inc. + Contributed by Nicola Pero <nicola.pero@meta-innovation.com> + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under the +terms of the GNU General Public License as published by the Free Software +Foundation; either version 3, or (at your option) any later version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +<http://www.gnu.org/licenses/>. */ + +#ifndef __objc_private_accessors_INCLUDE_GNU +#define __objc_private_accessors_INCLUDE_GNU + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +/* This function needs to be called at startup by init.c. */ +void +__objc_accessors_init (void); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* not __objc_private_accessors_INCLUDE_GNU */ |