([TextCStream -encodeValueOfCType:at:withName:]): Remove the asserts

that prohibited structs and arrays.
([TextCStream -decodeValueOfCType:at:withName:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@873 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1996-01-27 00:55:00 +00:00
parent 83811f935d
commit cf46d25b2f

View file

@ -52,6 +52,11 @@ static BOOL debug_textcoder = NO;
at: (const void*) d
withName: (id <String>) name;
{
assert(type);
assert(*type != '@');
assert(*type != '^');
assert(*type != ':');
if (!name)
name = @"";
switch (*type)
@ -171,7 +176,12 @@ if (debug_textcoder) \
{
char *tmpname;
assert(type);
assert(*type != '@');
assert(*type != '^');
assert(*type != ':');
assert (d);
switch (*type)
{
case _C_LNG: