mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
([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:
parent
83811f935d
commit
cf46d25b2f
1 changed files with 10 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue