]>
Commit | Line | Data |
---|---|---|
f76bab02 RK |
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 | ||
5 | This file is part of GNU CC. | |
6 | ||
7 | GNU CC is free software; you can redistribute it and/or modify it | |
8 | under the terms of the GNU General Public License as published by the | |
9 | Free Software Foundation; either version 2, or (at your option) any | |
10 | later version. | |
11 | ||
12 | GNU CC is distributed in the hope that it will be useful, but WITHOUT | |
13 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
14 | or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | |
15 | License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
18 | along with GNU CC; see the file COPYING. If not, write to | |
19 | the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |
20 | ||
21 | #ifndef __nxconstantstring_INCLUDE_GNU | |
22 | #define __nxconstantstring_INCLUDE_GNU | |
23 | ||
24 | #include "objc/Object.h" | |
25 | ||
26 | @interface NXConstantString: Object | |
27 | { | |
28 | char *c_string; | |
29 | unsigned int len; | |
30 | } | |
31 | ||
32 | -(const char *) cString; | |
33 | -(unsigned int) length; | |
34 | ||
35 | @end | |
36 | ||
37 | #endif |