line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#include "xshelper.h" |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
#ifndef __cplusplus |
4
|
|
|
|
|
|
|
#include |
5
|
|
|
|
|
|
|
#endif |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
XS(xs_pack); |
8
|
|
|
|
|
|
|
XS(xs_unpack); |
9
|
|
|
|
|
|
|
XS(xs_unpacker_new); |
10
|
|
|
|
|
|
|
XS(xs_unpacker_utf8); |
11
|
|
|
|
|
|
|
XS(xs_unpacker_get_utf8); |
12
|
|
|
|
|
|
|
XS(xs_unpacker_execute); |
13
|
|
|
|
|
|
|
XS(xs_unpacker_execute_limit); |
14
|
|
|
|
|
|
|
XS(xs_unpacker_is_finished); |
15
|
|
|
|
|
|
|
XS(xs_unpacker_data); |
16
|
|
|
|
|
|
|
XS(xs_unpacker_reset); |
17
|
|
|
|
|
|
|
XS(xs_unpacker_destroy); |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
void init_Data__MessagePack_pack(pTHX_ bool const cloning); |
20
|
|
|
|
|
|
|
void init_Data__MessagePack_unpack(pTHX_ bool const cloning); |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
MODULE = Data::MessagePack PACKAGE = Data::MessagePack |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
BOOT: |
25
|
|
|
|
|
|
|
{ |
26
|
25
|
|
|
|
|
|
init_Data__MessagePack_pack(aTHX_ false); |
27
|
25
|
|
|
|
|
|
init_Data__MessagePack_unpack(aTHX_ false); |
28
|
|
|
|
|
|
|
|
29
|
25
|
|
|
|
|
|
newXS("Data::MessagePack::pack", xs_pack, __FILE__); |
30
|
25
|
|
|
|
|
|
newXS("Data::MessagePack::unpack", xs_unpack, __FILE__); |
31
|
|
|
|
|
|
|
|
32
|
25
|
|
|
|
|
|
newXS("Data::MessagePack::Unpacker::new", xs_unpacker_new, __FILE__); |
33
|
25
|
|
|
|
|
|
newXS("Data::MessagePack::Unpacker::utf8", xs_unpacker_utf8, __FILE__); |
34
|
25
|
|
|
|
|
|
newXS("Data::MessagePack::Unpacker::get_utf8", xs_unpacker_get_utf8, __FILE__); |
35
|
25
|
|
|
|
|
|
newXS("Data::MessagePack::Unpacker::execute", xs_unpacker_execute, __FILE__); |
36
|
25
|
|
|
|
|
|
newXS("Data::MessagePack::Unpacker::execute_limit", xs_unpacker_execute_limit, __FILE__); |
37
|
25
|
|
|
|
|
|
newXS("Data::MessagePack::Unpacker::is_finished", xs_unpacker_is_finished, __FILE__); |
38
|
25
|
|
|
|
|
|
newXS("Data::MessagePack::Unpacker::data", xs_unpacker_data, __FILE__); |
39
|
25
|
|
|
|
|
|
newXS("Data::MessagePack::Unpacker::reset", xs_unpacker_reset, __FILE__); |
40
|
25
|
|
|
|
|
|
newXS("Data::MessagePack::Unpacker::DESTROY", xs_unpacker_destroy, __FILE__); |
41
|
|
|
|
|
|
|
} |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
#ifdef USE_ITHREADS |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
void |
46
|
|
|
|
|
|
|
CLONE(...) |
47
|
|
|
|
|
|
|
CODE: |
48
|
|
|
|
|
|
|
{ |
49
|
|
|
|
|
|
|
PERL_UNUSED_VAR(items); |
50
|
|
|
|
|
|
|
init_Data__MessagePack_pack(aTHX_ true); |
51
|
|
|
|
|
|
|
init_Data__MessagePack_unpack(aTHX_ true); |
52
|
|
|
|
|
|
|
} |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
#endif // USE_ITHREADS |
55
|
|
|
|
|
|
|
|