blib/lib/FFI/Platypus/Legacy/Raw/Ptr.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 8 | 8 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | 1 | 1 | 100.0 |
total | 12 | 12 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package FFI::Platypus::Legacy::Raw::Ptr; | ||||||
2 | |||||||
3 | 7 | 7 | 54 | use strict; | |||
7 | 24 | ||||||
7 | 267 | ||||||
4 | 7 | 7 | 45 | use warnings; | |||
7 | 26 | ||||||
7 | 614 | ||||||
5 | |||||||
6 | # ABSTRACT: Base FFI::Platypus::Legacy::Raw pointer type | ||||||
7 | our $VERSION = '0.06'; # VERSION | ||||||
8 | |||||||
9 | |||||||
10 | sub new { | ||||||
11 | 1 | 1 | 1 | 5 | my($class, $ptr) = @_; | ||
12 | 1 | 5 | bless \$ptr, $class; | ||||
13 | } | ||||||
14 | |||||||
15 | 1; | ||||||
16 | |||||||
17 | __END__ |