home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / eiffel / smalleif.97 / se.t / SmallEiffel / lib_std / pointer.e < prev    next >
Encoding:
Text File  |  1996-05-02  |  617 b   |  27 lines

  1. -- Part of SmallEiffel -- Read DISCLAIMER file -- Copyright (C) 
  2. -- Dominique COLNET and Suzanne COLLIN -- colnet@loria.fr
  3. --
  4. expanded class POINTER
  5. --
  6. -- References to objects meant to be exchanged with non-Eiffel 
  7. -- software.
  8. --
  9. -- Note : corresponding C type is usually "void *".
  10. --    In type STRING, POINTER is mapped "char *".
  11. --    In type ARRAY and FIXED_ARRAY, POINTER is mapped as the 
  12. --    C type of the generic actual argument.
  13. --
  14. inherit 
  15.    POINTER_REF
  16.       redefine print_on
  17.       end;
  18.  
  19. feature
  20.  
  21.    print_on(file: STD_FILE_WRITE) is
  22.       do
  23.      file.put_string("POINTER");
  24.       end;
  25.  
  26. end -- POINTER
  27.