| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package PDF::Make::Arena; |
|
2
|
|
|
|
|
|
|
|
|
3
|
5
|
|
|
5
|
|
294849
|
use strict; |
|
|
5
|
|
|
|
|
9
|
|
|
|
5
|
|
|
|
|
154
|
|
|
4
|
5
|
|
|
5
|
|
16
|
use warnings; |
|
|
5
|
|
|
|
|
5
|
|
|
|
5
|
|
|
|
|
325
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '0.03'; |
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
# Load the XS code from PDF::Make |
|
9
|
5
|
|
|
5
|
|
737
|
use PDF::Make (); |
|
|
5
|
|
|
|
|
19
|
|
|
|
5
|
|
|
|
|
162
|
|
|
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
|
|
|
|
|
|
|
1; |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |