home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.mdf / Apps / DevTools / COWS / Code / COWSArrayNode.h < prev    next >
Encoding:
Text File  |  1994-03-19  |  529 b   |  31 lines

  1. /*
  2.     Copyright (C) 1994 Sean Luke
  3.  
  4.     COWSArrayNode.h
  5.     Version 1.0
  6.     Sean Luke
  7.     
  8. */
  9.  
  10.  
  11.  
  12.  
  13. #import <objc/Object.h>
  14. #import <stdlib.h>
  15. #import "COWSStringNode.h"
  16. #define COWSMAXARRAYLIMITS 256
  17.  
  18. @interface COWSArrayNode:Object
  19. {
  20.     int                    size;            // greater than 0
  21.     int                    num_limits;        // greater than 0
  22.     int                    limits[COWSMAXARRAYLIMITS];
  23.     COWSStringNode**    table;
  24. }
  25.  
  26. - initTable:(const int*) these_limits:(int) this_num_limits;
  27. - setValue:(const int*) coords:(const char*) value;
  28. - (const char*) value:(const int*) coords;
  29. - free;
  30.  
  31. @end