home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / programm / programi / saslib.lzh / libinf.a < prev    next >
Text File  |  1992-02-02  |  2KB  |  105 lines

  1. *
  2. *    Name:                libinf.a
  3. *
  4. *    Description:    Description file for libhdr.a
  5. *
  6. *    Copyright:        1991-1992 by David Jones.
  7. *
  8. *    Distribution:
  9. *    This source file is released under the terms and conditions of the
  10. *    GNU General Public Library License, which should have been included
  11. *    with this source distribution.  If you do not have a copy of this
  12. *    license, then write to both of the following:
  13. *
  14. *                The Free Software Foundation        David Jones
  15. *                675 Mass Ave                            6730 Tooney Drive
  16. *                Cambridge, MA                            Orleans, Ontario
  17. *                02139                                        K1C 6R4
  18. *                USA                                        Canada
  19. *
  20. *    Usenet:    gnu@prep.ai.mit.edu                    dej@qpoint.amiga.ocunix.on.ca
  21. *    Fidonet:                                                1:163/109.8
  22. *
  23. *
  24. *    There is NO WARRANTY associated with this software; refer to "gpll.doc"
  25. *    for details.
  26. *
  27. *        $Log: $
  28. *
  29. *
  30.  
  31. *
  32. *  This is the stuff you will have to change.
  33. *
  34.  
  35.         XDEF    _LibName
  36.         XDEF    _LibID
  37.         XDEF    _FuncTable
  38.         XDEF    LibVersion
  39.         XDEF    LibRevision
  40.         XDEF    _LibVersion
  41.         XDEF    _LibRevision
  42.  
  43.         XREF    _aLibOpen
  44.         XREF    _aLibClose
  45.         XREF    _aLibExpunge
  46.         XREF    _aLibExtFunc
  47.  
  48. DEF        MACRO
  49.             XREF        _LIB\1
  50.             dc.l        _LIB\1
  51.             ENDM
  52.  
  53.         ; put XREFs for your functions here
  54.  
  55.  
  56.         ; put the name of your library here
  57. _LibName    dc.b    'demo.library',0
  58.  
  59.         ; put your ID string here
  60. _LibID        dc.b    'demo.library 1.0 (24.10.91)',13,10,0
  61.  
  62.         ; replace the following
  63.  
  64. LibVersion     EQU    1
  65. LibRevision    EQU    0
  66. _LibVersion       dc.w    1
  67. _LibRevision   dc.w    0
  68.  
  69.  
  70.         ; don't touch these
  71. _FuncTable:
  72.         dc.l    _aLibOpen
  73.         dc.l    _aLibClose
  74.         dc.l    _aLibExpunge
  75.         dc.l    _aLibExtFunc
  76.         
  77.         ; put pointers to your functions here.
  78.  
  79.         DEF    SquareMe
  80.                 
  81.         dc.l    -1
  82.         
  83. *
  84. *    The next piece of code is the glue driver for the ARexx query function.
  85. *    If you are writing an ARexx function library then remove the
  86. *  semicolon from the line below.
  87. *
  88.  
  89. ;INCLUDE_REXX   EQU   0
  90.  
  91.       IFD      INCLUDE_REXX
  92.  
  93.         XREF        _LibRexxQuery
  94.  
  95. _aLibRexxQuery:
  96.         link        A5,#-4
  97.         lea        -4(A5),A1    ; pointer for return value
  98.         jsr        _LIBRexxQuery
  99.         move.l    -4(A5),A0    ;    fetch return value
  100.         unlk        A5
  101.         rts
  102.  
  103.       ENDC
  104.  
  105.         END