source: trunk/third/gcc/objc/NXConstStr.h @ 8834

Revision 8834, 1.1 KB checked in by ghudson, 28 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r8833, which included commits to RCS files with non-trunk default branches.
Line 
1/* Interface for the NXConstantString class for Objective-C.
2   Copyright (C) 1995 Free Software Foundation, Inc.
3   Contributed by Pieter J. Schoenmakers <tiggr@es.ele.tue.nl>
4
5This file is part of GNU CC.
6
7GNU CC is free software; you can redistribute it and/or modify it
8under the terms of the GNU General Public License as published by the
9Free Software Foundation; either version 2, or (at your option) any
10later version.
11
12GNU CC is distributed in the hope that it will be useful, but WITHOUT
13ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
15License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU CC; see the file COPYING.  If not, write to
19the Free Software Foundation, 59 Temple Place - Suite 330,
20Boston, MA 02111-1307, USA.  */
21 
22#ifndef __nxconstantstring_INCLUDE_GNU
23#define __nxconstantstring_INCLUDE_GNU
24
25#include "objc/Object.h"
26
27@interface NXConstantString: Object
28{
29  char *c_string;
30  unsigned int len;
31}
32
33-(const char *) cString;
34-(unsigned int) length;
35
36@end
37
38#endif
Note: See TracBrowser for help on using the repository browser.