mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
(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:
parent
35671473e6
commit
5afcd8233e
2 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue