(Coding -encodeBytes:count:withName:): Use void*, not char* for bytes.

(Coding -decodeBytes:count:withName:): Likewise, and pass COUNT, not
pointer to COUNT.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1223 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1996-03-19 20:32:33 +00:00
parent deba918381
commit 925ffab1d0
2 changed files with 6 additions and 6 deletions

View file

@ -80,7 +80,7 @@
- (void) encodeIndent;
- (void) encodeUnindent;
- (void) encodeBytes: (const char *)b
- (void) encodeBytes: (const void *)b
count: (unsigned)c
withName: (id /*<String>*/)name;
@ -121,8 +121,8 @@
- (void) decodeIndent;
- (void) decodeUnindent;
- (void) decodeBytes: (char *)b
count: (unsigned*)c
- (void) decodeBytes: (void *)b
count: (unsigned)c
withName: (id /*<String>*/ *) name;
@end

View file

@ -80,7 +80,7 @@
- (void) encodeIndent;
- (void) encodeUnindent;
- (void) encodeBytes: (const char *)b
- (void) encodeBytes: (const void *)b
count: (unsigned)c
withName: (id /*<String>*/)name;
@ -121,8 +121,8 @@
- (void) decodeIndent;
- (void) decodeUnindent;
- (void) decodeBytes: (char *)b
count: (unsigned*)c
- (void) decodeBytes: (void *)b
count: (unsigned)c
withName: (id /*<String>*/ *) name;
@end