ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/typemap
(Generate patch)

Comparing deliantra/server/server/typemap (file contents):
Revision 1.13 by root, Mon Jan 29 22:13:20 2007 UTC vs.
Revision 1.36 by root, Fri Jul 2 15:03:57 2010 UTC

1val64 T_VAL64 1val64 T_VAL64
2sint64 T_VAL64
3sint32 T_IV
4sint16 T_IV
5sint8 T_IV
2uint64 T_VAL64 6uint64 T_UVAL64
3sint16 T_INT 7uint32 T_UV
4sint8 T_INT 8uint16 T_UV
9uint8 T_UV
5 10
6object * T_CF_OBJ 11faceidx T_INT
7partylist * T_CF_OBJ 12animidx T_INT
8archetype * T_CF_OBJ
9maptile * T_CF_OBJ
10struct region * T_CF_OBJ
11region * T_CF_OBJ
12client * T_CF_OBJ
13player * T_CF_OBJ
14living * T_CF_OBJ
15attachable * T_CF_OBJ
16 13
14MoveType T_INT
15
16shstr T_SHSTR
17const shstr T_SHSTR
18shstr_tmp T_SHSTR
19const shstr_tmp T_SHSTR
20shstr_cmp T_SHSTR_CMP
21const shstr_cmp T_SHSTR_CMP
22
23object * T_CF_OBJ
24partylist * T_CF_OBJ
25archetype * T_CF_OBJ
26maptile * T_CF_OBJ
27struct region * T_CF_OBJ
28region * T_CF_OBJ
29client * T_CF_OBJ
30player * T_CF_OBJ
31living * T_CF_OBJ
32mapspace * T_CF_OBJ
33layout * T_CF_OBJ
34attachable * T_CF_OBJ
35treasurelist * T_CF_OBJ
36std::string T_CF_OBJ
37const std::string T_CF_OBJ
38UUID T_CF_OBJ
39dynbuf * T_CF_OBJ
40dynbuf_text * T_CF_OBJ
41
42object_thawer * T_CF_OBJ
43object_freezer * T_CF_OBJ
44
17Settings * T_SETTINGS 45Settings * T_SETTINGS
18 46
19object_ornull * T_CF_OBJ_ORNULL 47object_ornull * T_CF_OBJ_ORNULL
20mapstruct_ornull * T_CF_OBJ_ORNULL 48mapstruct_ornull * T_CF_OBJ_ORNULL
49octet_string T_CF_OCTETS
50utf8_string T_CF_UTF8
51const_octet_string T_CF_OCTETS
52const_utf8_string T_CF_UTF8
21 53
22INPUT 54INPUT
23 55
24T_VAL64 56T_VAL64
25 $var = ($type)SvVAL64 ($arg); 57 $var = ($type)SvVAL64 ($arg);
26 58
59T_UVAL64
60 $var = ($type)SvUVAL64 ($arg);
61
27T_CF_OBJ 62T_CF_OBJ
28 sv_to ($arg, $var) 63 cf_obj_to ($arg, $var);
64
65T_CF_OBJ_ORNULL
66 cf_obj_ornull_to ($arg, $var);
29 67
30T_SETTINGS 68T_SETTINGS
31 $var = &settings 69 $var = &settings
32 70
33T_CF_OBJ_ORNULL 71T_CF_OCTETS
34 if (SvOK ($arg)) 72 $var = SvPVbyte_nolen ($arg)
35 sv_to ($arg, $var); 73
36 else 74T_CF_UTF8
37 $var = 0; 75 $var = cfSvPVutf8_nolen ($arg)
76
77T_SHSTR
78 $var = shstr (cfSvPVutf8_nolen ($arg))
79
80T_SHSTR_ORNULL
81 $var = SvOK ($arg) ? shstr (cfSvPVutf8_nolen ($arg)) : 0
82
83T_SHSTR_CMP
84 $var = shstr_cmp (cfSvPVutf8_nolen ($arg))
38 85
39OUTPUT 86OUTPUT
40 87
41T_VAL64 88T_VAL64
42 $arg = newSVval64 ($var); 89 $arg = newSVval64 ($var);
43 90
44T_CF_OBJ_NORNULL 91T_UVAL64
45 $arg = to_sv ($var); 92 $arg = newSVuval64 ($var);
46 93
47T_CF_OBJ 94T_CF_OBJ
48 $arg = to_sv ($var); 95 $arg = to_sv ($var);
49 96
97T_CF_OCTETS
98 $arg = $var ? newSVpv ($var, 0) : &PL_sv_undef;
99
100T_CF_UTF8
101 if ($var)
102 {
103 sv_setpv ($arg, $var);
104 SvUTF8_on ($arg);
105 }
106
107T_SHSTR
108 if ($var)
109 {
110 sv_setpv ($arg, &$var);
111 SvUTF8_on ($arg);
112 }
113

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines