File Coverage

Ouroboros.xs
Criterion Covered Total %
statement 8 8 100.0
branch n/a
condition n/a
subroutine n/a
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             #include "libouroboros.h"
2             #include "const-c.inc"
3              
4             MODULE = Ouroboros PACKAGE = Ouroboros
5              
6             INCLUDE: fn-pointer-xs.inc
7             INCLUDE: const-xs.inc
8              
9             BOOT:
10             {
11 3           HV *sizes = get_hv("Ouroboros::SIZE_OF", GV_ADD);
12             #define SS(ty) hv_store(sizes, #ty, strlen(#ty), newSVuv(sizeof(ty)), 0)
13             /* sizeof { */
14 3           SS(bool);
15 3           SS(svtype);
16 3           SS(PADOFFSET);
17 3           SS(Optype);
18 3           SS(ouroboros_stack_t);
19 3           SS(MAGIC);
20 3           SS(MGVTBL);
21             /* } */
22             #undef SS
23             }