home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / OB3.2D3.DMS / in.adf / Interfaces / MathLibrary.mod < prev    next >
Encoding:
Text File  |  1992-12-17  |  1.4 KB  |  36 lines

  1. (*-------------------------------------------------------------------------*)
  2. (*                                                                         *)
  3. (*  Amiga Oberon Interface Module:                    Date: 02-Nov-92      *)
  4. (*                                                                         *)
  5. (*   © 1992 by Fridtjof Siebert                                            *)
  6. (*                                                                         *)
  7. (*-------------------------------------------------------------------------*)
  8.  
  9. MODULE MathLibrary;   (* $Implementation- *)
  10.  
  11. IMPORT e * := Exec;
  12.  
  13. TYPE
  14.  
  15.   MathIEEEBasePtr * = UNTRACED POINTER TO MathIEEEBase;
  16.   MathIEEEBase * = STRUCT (libNode * : e.Library)
  17.     reserved * : ARRAY 18 OF CHAR;
  18.     taskOpenLib * : PROCEDURE(): LONGINT;
  19.     taskCloseLib * : PROCEDURE(): LONGINT;
  20.     (*      This structure may be extended in the future *)
  21.   END;
  22.  
  23. (*
  24. * Math resources may need to know when a program opens or closes this
  25. * library. The functions TaskOpenLib and TaskCloseLib are called when
  26. * a task opens or closes this library. They are initialized to point to
  27. * local initialization pertaining to 68881 stuff if 68881 resources
  28. * are found. To override the default the vendor must provide appropriate
  29. * hooks in the MathIEEEResource. If specified, these will be called
  30. * when the library initializes.
  31. *)
  32.  
  33. END MathLibrary.
  34.  
  35.  
  36.