/* * Copyright (C) 2001 - 2004 Mike Wray * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * This library 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 Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _XUTIL_STRING_STREAM_H_ #define _XUTIL_STRING_STREAM_H_ #include "iostream.h" /** Internal state for a string stream. * Exposed here so that string streams can be statically created, using * string_stream_init(). */ typedef struct { /** The string used for input and ouput. */ char *string; /** Output pointer. */ char *out; /** Input pointer. */ char *in; /** Length of string. */ int size; /** End marker. */ char *end; } StringData; extern IOMethods *string_stream_get_methods(void); extern IOStream *string_stream_new(char *s, int n); extern void string_stream_init(IOStream *stream, StringData *data, char *s, int n); #endif /* !_XUTIL_STRING_STREAM_H_ */ tree/examples/cmos/cmos_cells.lib?id=cbaba62401ca975bc9aee91b53e0b48fa59bd6c3'>treecommitdiffstats
path: root/examples/cmos/cmos_cells.lib
blob: 1b0bf8457d0a70b6d3b0c6f1eff15c62c5d4c20b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55