xs/TransferProgress.xs

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 100% 10 / 10 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« xs/Test.xs ↑ Summary xs/Tree/Entry.xs »
1 MODULE = Git::Raw PACKAGE = Git::Raw::TransferProgress
2  
3 TransferProgress
4 new(class)
5  
6 PREINIT:
7 git_transfer_progress *tp;
8  
9 CODE:
10 1 Newxz(tp, 1, git_transfer_progress);
11 1 RETVAL = tp;
12  
13 OUTPUT: RETVAL
14  
15 SV *
16 total_objects(self)
17 TransferProgress self
18  
19 CODE:
20 2 RETVAL = newSVuv(self -> total_objects);
21  
22 OUTPUT: RETVAL
23  
24 SV *
25 indexed_objects(self)
26 TransferProgress self
27  
28 CODE:
29 2 RETVAL = newSVuv(self -> indexed_objects);
30  
31 OUTPUT: RETVAL
32  
33 SV *
34 received_objects(self)
35 TransferProgress self
36  
37 CODE:
38 1 RETVAL = newSVuv(self -> received_objects);
39  
40 OUTPUT: RETVAL
41  
42 SV *
43 local_objects(self)
44 TransferProgress self
45  
46 CODE:
47 1 RETVAL = newSVuv(self -> local_objects);
48  
49 OUTPUT: RETVAL
50  
51 SV *
52 total_deltas(self)
53 TransferProgress self
54  
55 CODE:
56 1 RETVAL = newSVuv(self -> total_deltas);
57  
58 OUTPUT: RETVAL
59  
60 SV *
61 indexed_deltas(self)
62 TransferProgress self
63  
64 CODE:
65 1 RETVAL = newSVuv(self -> indexed_deltas);
66  
67 OUTPUT: RETVAL
68  
69 SV *
70 received_bytes(self)
71 TransferProgress self
72  
73 CODE:
74 1 RETVAL = newSVuv(self -> received_bytes);
75  
76 OUTPUT: RETVAL
77  
78 void
79 DESTROY(self)
80 TransferProgress self
81  
82 CODE:
83 6 Safefree(self);
84  
« xs/Test.xs ↑ Summary xs/Tree/Entry.xs »