xs/main.xs

filter: Statementstmt 100% 3 / 3 Branchbran 50.0% 2 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 71.4% 5 / 7 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« src/xs/date.h ↑ Summary src/xs/date.cc »
1 #include <xs/date.h>
2 #include <xs/export.h>
3 #include <panda/endian.h>
4 #include "private.h"
5  
6 using namespace xs;
7 using namespace xs::date;
8 using namespace panda::time;
9 using panda::string;
10 using panda::string_view;
11  
12 MODULE = Date PACKAGE = Date
13 PROTOTYPES: DISABLE
14  
15 BOOT {
16 48 XS_BOOT(Date__Date);
17 }
18  
19 MODULE = Date PACKAGE = Date::strict
20 PROTOTYPES: DISABLE
21  
22 void import (SV*) {
23 5 ▶ Scope::Hints::set(strict_hint_name, Simple(1));
Branch: 2 branches
BranchTrueFalseTotal
Scope::Hints::set(strict_hint_name, Simple(1)); 5 0 5
Scope::Hints::set(strict_hint_name, Simple(1)); 5 0 5
24 }
25  
26 void unimport (SV*) {
27 1 Scope::Hints::remove(strict_hint_name);
28 }
29  
30 INCLUDE: DateRel.xsi
31  
32 INCLUDE: serialize.xsi
33  
34 INCLUDE: Timezone.xsi
« src/xs/date.h ↑ Summary src/xs/date.cc »