home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
harbb30g.zip
/
INCLUDE
/
vm.api
< prev
Wrap
Text File
|
1999-09-23
|
3KB
|
74 lines
/*
* $Id: vm.api,v 1.8 1999/09/23 07:29:49 vszel Exp $
*/
/*
* Harbour Project source code:
* Compatibility header file for CA-Clipper Virtual Memory API
*
* Copyright 1999 Victor Szel <info@szelvesz.hu>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version, with one exception:
*
* The exception is that if you link the Harbour Runtime Library (HRL)
* and/or the Harbour Virtual Machine (HVM) with other files to produce
* an executable, this does not by itself cause the resulting executable
* to be covered by the GNU General Public License. Your use of that
* executable is in no way restricted on account of linking the HRL
* and/or HVM code into it.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA (or visit
* their web site at http://www.gnu.org/).
*
*/
/* DON'T USE THIS FILE FOR NEW HARBOUR C CODE */
#ifndef HB_VM_API_
#define HB_VM_API_
#include "clipdefs.h"
#include "extend.h"
/* Standard */
#define _xvalloc( size, flags ) hb_xalloc( size )
#define _xvfree( h ) hb_xfree( h )
#define _xvrealloc( h, size, flags ) hb_xrealloc( h, size )
#define _xvlock( h ) ( h )
#define _xvunlock( h ) /* dummy */
/* Wire */
#define _xvwire( h ) ( h )
#define _xvunwire( h ) /* dummy */
/* State */
#define _xvlockcount( h ) ( 0 )
#define _xvsize( h ) hb_xsize( h )
/* -------------------------------------------------------- */
/* Warning: Heap functionality is not supported by Harbour. */
/* All functions will emulate constant failure. */
/* -------------------------------------------------------- */
/* Heap */
#define _xvheapnew( size ) ( 0 )
#define _xvheapdestroy( h ) /* dummy */
#define _xvheapresize( h, size ) /* dummy */
#define _xvheapalloc( h, size ) ( 0 )
#define _xvheapfree( h, offset ) /* dummy */
#define _xvheaplock( h, offset ) ( 0 )
#define _xvheapunlock( h, offset ) /* dummy */
#endif /* HB_VM_API_ */