1 /******************************************************************************
2 *
3 * Copyright (C) 2006, The Gentee Group. All rights reserved.
4 * This file is part of the Gentee open source project - http://www.gentee.com.
5 *
6 * THIS FILE IS PROVIDED UNDER THE TERMS OF THE GENTEE LICENSE ("AGREEMENT").
7 * ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE CONSTITUTES RECIPIENTS
8 * ACCEPTANCE OF THE AGREEMENT.
9 *
10 * ID: vmtype 18.10.06 0.0.A.
11 *
12 * Author: Alexey Krivonogov ( gentee )
13 *
14 * Summary: Functions, structures and defines of the Gentee virtual machine.
15 *
16 ******************************************************************************/
17
18 #ifndef _VMTYPE_
19 #define _VMTYPE_
20
21 #ifdef __cplusplus
22 extern "C" {
23 #endif // __cplusplus
24
25 #include "vmrun.h"
26
27 void STDCALL type_vardelete( pubyte start, pvartype psub, uint count,
28 uint align );
29 void STDCALL type_varinit( pubyte start, pvartype psub, uint count,
30 uint align );
31 void STDCALL type_setdelete( pstackpos curpos, uint item );
32 void STDCALL type_setinit( pstackpos curpos, uint item );
33 void STDCALL type_initialize( uint idtype );
34 uint STDCALL type_isinherit( uint idtype, uint idowner );
35 uint STDCALL type_hasinit( uint idtype );
36 uint STDCALL type_hasdelete( uint idtype );
37 pubyte STDCALL type_init( pubyte ptr, uint idtype );
38 void STDCALL type_delete( pubyte ptr, uint idtype );
39 uint STDCALL type_sizeof( uint idtype );
40 uint STDCALL type_compfull( uint idtype );
41 pvoid STDCALL type_new( uint idtype, pubyte data );
42 void STDCALL type_destroy( pvoid obj );
43 uint STDCALL type_compat( uint idleft, uint idright, uint oftype );
44
45
46
47 //--------------------------------------------------------------------------
48
49
50 #ifdef __cplusplus
51 }
52 #endif // __cplusplus
53
54 #endif // _VMTYPE_
55
56
Редактировать