home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / harbb30g.zip / INCLUDE / extend.api < prev    next >
Text File  |  1999-09-15  |  3KB  |  93 lines

  1. /*
  2.  * $Id: extend.api,v 1.12 1999/09/15 14:03:36 vszel Exp $
  3.  */
  4.  
  5. /*
  6.  * Harbour Project source code:
  7.  * Compatibility header file for CA-Clipper Extend API
  8.  *
  9.  * Copyright 1999 {list of individual authors and e-mail addresses}
  10.  * www - http://www.harbour-project.org
  11.  *
  12.  * This program is free software; you can redistribute it and/or modify
  13.  * it under the terms of the GNU General Public License as published by
  14.  * the Free Software Foundation; either version 2 of the License, or
  15.  * (at your option) any later version, with one exception:
  16.  *
  17.  * The exception is that if you link the Harbour Runtime Library (HRL)
  18.  * and/or the Harbour Virtual Machine (HVM) with other files to produce
  19.  * an executable, this does not by itself cause the resulting executable
  20.  * to be covered by the GNU General Public License. Your use of that
  21.  * executable is in no way restricted on account of linking the HRL
  22.  * and/or HVM code into it.
  23.  *
  24.  * This program is distributed in the hope that it will be useful,
  25.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  26.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  27.  * GNU General Public License for more details.
  28.  *
  29.  * You should have received a copy of the GNU General Public License
  30.  * along with this program; if not, write to the Free Software
  31.  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA (or visit
  32.  * their web site at http://www.gnu.org/).
  33.  *
  34.  */
  35.  
  36. /* DON'T USE THIS FILE FOR NEW HARBOUR C CODE */
  37.  
  38. #ifndef HB_EXTEND_API_
  39. #define HB_EXTEND_API_
  40.  
  41. #include "clipdefs.h"
  42. #include "extend.h"
  43.  
  44. typedef PHB_ITEM  ITEM;
  45. typedef double    XDOUBLE;
  46.  
  47. /* Compatible defines */
  48.  
  49. #define UNDEF           IT_NIL
  50. #define CHARACTER       IT_STRING
  51. #define NUMERIC         IT_NUMERIC
  52. #define LOGICAL         IT_LOGICAL
  53. #define DATE            IT_DATE
  54. #define ALIAS           IT_ALIAS
  55. #define MPTR            IT_BYREF        /* or'ed with type when passed by reference */
  56. #define MEMO            IT_MEMO
  57. #define WORD            ( IT_INTEGER | IT_LONG )
  58. #define ARRAY           IT_ARRAY
  59. #define BLOCK           IT_BLOCK
  60. #define DOUBLE          IT_DOUBLE
  61.  
  62. /* Functions */
  63.  
  64. #define _parc           hb_parc
  65. #define _parclen        hb_parclen
  66. #define _parcsiz        hb_parcsiz
  67. #define _pards          hb_pards
  68. #define _parinfa        hb_parinfa
  69. #define _parinfo        hb_parinfo
  70. #define _parl           hb_parl
  71. #define _parnd          hb_parnd
  72. #define _parni          hb_parni
  73. #define _parnl          hb_parnl
  74.  
  75. #define _ret            hb_ret
  76. #define _retc           hb_retc
  77. #define _retclen        hb_retclen
  78. #define _retds          hb_retds
  79. #define _retl           hb_retl
  80. #define _retnd          hb_retnd
  81. #define _retni          hb_retni
  82. #define _retnl          hb_retnl
  83.  
  84. #define _storc          hb_storc
  85. #define _storclen       hb_storclen
  86. #define _stords         hb_stords
  87. #define _storl          hb_storl
  88. #define _stornd         hb_stornd
  89. #define _storni         hb_storni
  90. #define _stornl         hb_stornl
  91.  
  92. #endif /* HB_EXTEND_API_ */
  93.