OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [libobjc/] [objc/] [NXConstStr.h] - Blame information for rev 14

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 14 jlechner
/* Interface for the NXConstantString class for Objective-C.
2
   Copyright (C) 1995, 2004 Free Software Foundation, Inc.
3
   Contributed by Pieter J. Schoenmakers <tiggr@es.ele.tue.nl>
4
 
5
This file is part of GCC.
6
 
7
GCC 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
GCC is distributed in the hope that it will be useful, but WITHOUT
13
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14
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 GCC; see the file COPYING.  If not, write to
19
the Free Software Foundation, 51 Franklin Street, Fifth Floor,
20
Boston, MA 02110-1301, USA.  */
21
 
22
/* As a special exception, if you link this library with files
23
   compiled with GCC to produce an executable, this does not cause
24
   the resulting executable to be covered by the GNU General Public License.
25
   This exception does not however invalidate any other reasons why
26
   the executable file might be covered by the GNU General Public License.  */
27
 
28
#ifndef __nxconstantstring_INCLUDE_GNU
29
#define __nxconstantstring_INCLUDE_GNU
30
 
31
#include "Object.h"
32
 
33
#ifdef __cplusplus
34
extern "C" {
35
#endif
36
 
37
@interface NXConstantString: Object
38
{
39
  char *c_string;
40
  unsigned int len;
41
}
42
 
43
-(const char *) cString;
44
-(unsigned int) length;
45
 
46
@end
47
 
48
#ifdef __cplusplus
49
}
50
#endif
51
 
52
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.