home *** CD-ROM | disk | FTP | other *** search
/ Really Useful CD 1 / ReallyUsefulCD1.iso / extras / languages / smalltalk / _smalltalk / sources / h / block next >
Encoding:
Text File  |  1987-12-30  |  665 b   |  32 lines

  1. /*
  2.      Little Smalltalk
  3.           
  4.           block definitions
  5.           timothy a. budd, 10/84
  6. */
  7. /*
  8.      for blocks
  9.  
  10.           b_size = BLOCKSIZE
  11.  
  12.           b_interpreter is an instance of interpreter that will
  13.           actually execute the bytecodes for the block.
  14.  
  15.           b_numargs and b_arglocation are the number of arguments and
  16.           the starting argument location in the context array.
  17.  
  18. */
  19.  
  20. struct block_struct {
  21.      int  b_ref_count;
  22.      int  b_size;
  23.      interpreter    *b_interpreter;
  24.      int  b_numargs;
  25.      int  b_arglocation;
  26.      } ;
  27.  
  28. typedef struct block_struct block;
  29.  
  30. extern object *new_block();
  31. extern interpreter *block_execute();
  32.