lib/PDF/Make/Arena.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« include/pdfmake_tokenizer.h ↑ Summary src/pdfmake.c »
1 package PDF::Make::Arena;
2  
3 5 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 5 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 5 our $VERSION = '0.15';
7  
8 # Load the XS code from PDF::Make
9 5 ▶use PDF::Make ();
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 # XS bindings provide:
12 # new() - create a new arena
13 # reset() - reset arena for reuse
14 # DESTROY() - free arena
15 #
16 # Object creation methods (return PDF::Make::Obj):
17 # null() - create null object
18 # bool($val) - create boolean
19 # int($val) - create integer
20 # real($val) - create real number
21 # name($str) - create name
22 # str($str) - create literal string
23 # hexstr($str) - create hex string
24 # obj_ref($num, $gen) - create indirect reference
25 # array() - create empty array
26 # dict() - create empty dictionary
27 # stream() - create empty stream
28  
29 5 1;
30  
31 __END__
« include/pdfmake_tokenizer.h ↑ Summary src/pdfmake.c »