ftp.nice.ch/pub/next/developer/languages/c/gcc.2.7.2.2.I.b.tar.gz#/lib/gcc-lib/m68k-next-nextstep3/2.7.2.2.f.2/include/machkit/NXData.h

This is NXData.h in view mode; [Download] [Up]

/*
 * Copyright 1991 NeXT Computer, Inc.
 */
 
#import <objc/Object.h>
#import <remote/transport.h>


@interface NXData : Object <NXTransport>  {
@private
    void            *data;
    unsigned int    size;
    BOOL            dealloc;
}

/* allocate some memory; will be deallocated on free*/
- initWithSize: (unsigned int) size;

/* create a wrapper for existing allocated memory;*/
/* We will deallocate this on free if asked*/
- initWithData:(void *)data size:(unsigned) size dealloc:(BOOL) flag;

- (void *) data;
- (unsigned) size;

/* object methods reimplemented*/
- copyFromZone:(NXZone *)zone;
- free;
@end


These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.