ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/ermyth/modules/misc/svsperl/typemap
Revision: 1.1
Committed: Thu Jul 19 08:24:54 2007 UTC (19 years, 3 months ago) by pippijn
Branch: MAIN
CVS Tags: HEAD
Log Message:
initial import. the most important changes since Atheme are:
- fixed many memory leaks
- fixed many bugs
- converted to C++ and use more STL containers
- added a (not very enhanced yet) perl module
- greatly improved XML-RPC speed
- added a JSON-RPC module with code from json-cpp
- added a valgrind memcheck module to operserv
- added a more object oriented base64 implementation
- added a specialised unit test framework
- improved stability
- use gettimeofday() if available
- reworked adding/removing commands
- MemoServ IGNORE DEL can now remove indices

File Contents

# Content
1 # vim:noexpandtab
2
3 TYPEMAP
4
5 unsigned char const * T_PV
6 char const * T_PV
7 uint64_t T_UV
8 int64_t T_IV
9
10 kline_t * T_SVS_OBJECT
11 user_t * T_SVS_OBJECT
12 server_t * T_SVS_OBJECT
13 svsignore_t * T_SVS_OBJECT
14
15
16 INPUT
17
18 T_SVS_OBJECT
19 if (sv_isobject ($arg) && (SvTYPE (SvRV ($arg)) == SVt_PVMG))
20 $var = ($type) SvIV ((SV *) SvRV ($arg));
21 else
22 {
23 warn (\"${Package}::$func_name() -- $var is not a blessed SV reference\" );
24 XSRETURN_UNDEF;
25 }
26
27
28 OUTPUT
29
30 T_SVS_OBJECT
31 sv_setref_pv ($arg, klass, (void *) $var);