ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cf.schmorp.de/Deliantra-Client/typemap
Revision: 1.16
Committed: Sun Nov 18 00:52:22 2018 UTC (5 years, 8 months ago) by root
Branch: MAIN
CVS Tags: HEAD
Changes since 1.15: +1 -1 lines
Log Message:
port to c++

File Contents

# User Rev Content
1 root 1.6 uint8_t * T_PV
2 root 1.5 uint32_t * T_PV
3 root 1.10
4     GLenum T_IV
5     GLsize T_UV
6     GLsizei T_IV
7     GLint T_IV
8     GLfloat T_NV
9     GLdouble T_NV
10    
11 root 1.15 DC::Channel T_IVOBJ
12     DC::RW T_PTROBJ
13     DC::MixChunk T_PTROBJ
14     DC::MixMusic T_PTROBJ
15     DC::Font T_PTROBJ
16     DC::Layout T_PTROBJ
17     DC::Map T_PTROBJ
18 root 1.12
19     INPUT
20    
21     T_IVOBJ
22 root 1.16 if (sv_derived_from ($arg, \"${ntype}\"))
23 root 1.12 $var = SvIV (SvRV ($arg));
24     else
25     croak (\"$var is not of type ${ntype}\")
26    
27     OUTPUT
28    
29     T_IVOBJ
30 root 1.13 sv_setref_iv ($arg, \"${ntype}\", $var);
31 root 1.12