(Streaming): Include NSObject protocol in Streaming protocol, so we

can use NSObject methods on arguments passed with <Streaming> type.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@778 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1996-01-23 23:08:25 +00:00
parent 35671473e6
commit 5afcd8233e
2 changed files with 4 additions and 2 deletions

View file

@ -25,8 +25,9 @@
#define __Streaming_h__OBJECTS_INCLUDE
#include <objects/stdobjects.h>
#include <objects/String.h>
@protocol Streaming
@protocol Streaming <NSObject>
- (int) writeByte: (unsigned char)b;
- (int) readByte: (unsigned char*)b;

View file

@ -25,8 +25,9 @@
#define __Streaming_h__OBJECTS_INCLUDE
#include <objects/stdobjects.h>
#include <objects/String.h>
@protocol Streaming
@protocol Streaming <NSObject>
- (int) writeByte: (unsigned char)b;
- (int) readByte: (unsigned char*)b;