home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / base32pr.zip / B32demoprof.zip / extern.h < prev    next >
C/C++ Source or Header  |  1996-04-29  |  630b  |  30 lines

  1. #define EXPORT _Export 
  2.  
  3. enum { UNDEFINED_PTYPE , 
  4.        LOGICAL_PTYPE , 
  5.        CHAR_PTYPE ,
  6.        DATE_PTYPE , 
  7.        NUMERIC_PTYPE 
  8.      } ;
  9.  
  10. struct EXPAR 
  11. {
  12.     int type ;
  13.     union
  14.     {
  15.        double numeric ;
  16.        char   date[ 8 ] ;
  17.        struct
  18.        {
  19.           char*      ptr ;
  20.           int        len ;
  21.        } string ;
  22.        int    logical ;
  23.     } ;
  24.   
  25. } ;
  26.  
  27. typedef EXPAR* ( EXPORT EXTRNCALL ) (const EXPAR*,const EXPAR*,const EXPAR*,const EXPAR*,const EXPAR*) ;
  28.  
  29. // EXPAR* EXPORT MyFunc( const EXPAR* p1 , const EXPAR* p2 , const EXPAR* p3 , const EXPAR* p4 , const EXPAR* p5 )
  30.