home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cset21v1.zip / IBMCPP / SAMPLES / COMPILER / SAMPLE03 / SAMPLE03.DEF < prev    next >
Text File  |  1993-03-15  |  2KB  |  34 lines

  1. ;******************************************************************************
  2. ;*                                                                            *
  3. ;* Sample Program 03 : Module definition file for SAMPLE03.DLL                *
  4. ;*                                                                            *
  5. ;* COPYRIGHT:                                                                 *
  6. ;* ----------                                                                 *
  7. ;* Copyright (C) International Business Machines Corp., 1991, 1993.           *
  8. ;*                                                                            *
  9. ;* DISCLAIMER OF WARRANTIES:                                                  *
  10. ;* -------------------------                                                  *
  11. ;* The following [enclosed] code is sample code created by IBM                *
  12. ;* Corporation.  This sample code is not part of any standard IBM product     *
  13. ;* and is provided to you solely for the purpose of assisting you in the      *
  14. ;* development of your applications.  The code is provided "AS IS",           *
  15. ;* without warranty of any kind.  IBM shall not be liable for any damages     *
  16. ;* arising out of your use of the sample code, even if they have been         *
  17. ;* advised of the possibility of such damages.                                *
  18. ;*                                                                            *
  19. ;******************************************************************************
  20. ;
  21. LIBRARY SAMPLE03 INITINSTANCE TERMINSTANCE
  22. PROTMODE
  23. DATA MULTIPLE NONSHARED READWRITE LOADONCALL
  24. CODE LOADONCALL
  25. EXPORTS
  26.    nSize     ; array size
  27.    pArray    ; pointer to base of array of ints
  28.    nSwaps    ; number of swaps required to sort the array
  29.    nCompares ; number of comparisons required to sort the array
  30.    list      ; array listing function
  31.    bubble    ; bubble sort function
  32. ;  selection   selection sort function
  33.    insertion ; insertion sort function
  34.