Holger Vogt
7f085144a9
remove all the remains of quote() and strip() that had been
used to modify the eigths bit of a character or string.
The functions had been switched off some time ago.
We now need all bits of a char for extended ascii or utf8
6 years ago
Jim Monte
ea81da2b01
[PATCH #55-1] Fixed some compiler warnings added by Visual Studio 2019
7 years ago
Jim Monte
1c5176282b
[PATCH #52 ] General cleanup of word list processing, such as adding
comments and const. Also added a new function wl_from_string() to convert a
single word into a word list. This function can be useful when calling a
function taking a single-word word list.
7 years ago
Jim Monte
0ddd4a8456
Fixed excess buffer allocation and converted wordlist to string more efficiently
Signed-off-by: Holger Vogt <holger.vogt@uni-due.de>
7 years ago
rlar
52a1a58e14
wlist.c, wl_find(), avoid crash when `string' argument is NULL
10 years ago
rlar
bd0bc3038b
use `SWAP' macro
10 years ago
rlar
f84d2d4e44
misc/wlist.c, minor cleanup
10 years ago
rlar
4c1c95e20f
everywhere, use `TMALLOC()' instead of `alloc()'
10 years ago
rlar
11579d9369
cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones)
14 years ago
rlar
713091ea22
wlist #3/3, whitespace
14 years ago
rlar
fe5ac28b92
wlist #2/3, cleanup
14 years ago
rlar
406dcc3519
wlist #1/3, cleanup
14 years ago
rlar
9ed7ce4e9e
wlist.c, `const' ness
14 years ago
rlar
cdef8aa10e
implement wl_delete_slice()
14 years ago
rlar
e2be942b72
implement wl_find()
14 years ago
rlar
561d30e5bf
implement wl_chop()
14 years ago
rlar
2b859633a1
fix the fix wl_reverse() for empty lists
14 years ago
rlar
a890a55937
fix wl_reverse() for empty lists
14 years ago
rlar
5859f1a61d
comments for wl_cons(), wl_append_word() and wl_chop_rest()
14 years ago
rlar
9655b9885a
cleanup, use wl_cons(), wl_append_word() and wl_chop_rest()
14 years ago
rlar
d9ddaec784
implement wl_cons(), wl_append_word() and wl_chop_rest()
14 years ago
rlar
d04f0948d6
preserve const'ness of some casts
14 years ago
rlar
4ca58067a2
#2/6 config.h --> ngspice/config.h, #include's
14 years ago
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
15 years ago
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
15 years ago
rlar
d0dba768f8
change the type of a bunch of variables from `int' to `size_t'
16 years ago
rlar
7b3960506f
wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC
16 years ago
rlar
b96989b506
fix incorrect usage of tmalloc/sizeof, incorrect indirection level
16 years ago
rlar
bf0b7b4386
qsort() usage, drop cast of the first argument (which is a void *)
16 years ago
rlar
4cdd842cd8
muffle compiler warnings
16 years ago
rlar
3369d860b4
cast the return values of malloc() function calls
16 years ago
arno
57dfb0f945
* main.c frontend/com_ahelp.c frontend/com_asciiplot.c
26 years ago
arno
6269d030f0
* src/parser/wlist.c: Updates to remove compiler warnings.
26 years ago
pnenzi
978f1c32a2
Initial revision
26 years ago