| 1 |
|
| #define PERL_NO_GET_CONTEXT
|
| 2 |
|
|
|
| 3 |
|
| #include "EXTERN.h"
|
| 4 |
|
| #include "perl.h"
|
| 5 |
|
| #include "XSUB.h"
|
| 6 |
|
| #include "src/perl_mnemonic.h"
|
| 7 |
|
| #include "src/spaceless.h"
|
| 8 |
|
| #include "src/html_protect.h"
|
| 9 |
|
| #include "src/count_lines.h"
|
| 10 |
|
|
|
| 11 |
|
| MODULE = DTL::Fast PACKAGE = DTL::Fast
|
| 12 |
|
|
|
| 13 |
|
| SV*
|
| 14 |
|
| spaceless( SV* scalar_string )
|
| 15 |
|
| CODE:
|
| 16 |
8 |
| RETVAL = _spaceless( aTHX_ scalar_string );
|
| 17 |
|
| OUTPUT:
|
| 18 |
|
| RETVAL
|
| 19 |
|
|
|
| 20 |
|
| SV*
|
| 21 |
|
| html_protect( SV* scalar_string )
|
| 22 |
|
| CODE:
|
| 23 |
2354 |
| RETVAL = _html_protect(aTHX_ scalar_string );
|
| 24 |
|
| OUTPUT:
|
| 25 |
|
| RETVAL
|
| 26 |
|
|
|
| 27 |
|
| int
|
| 28 |
|
| eval_sequence()
|
| 29 |
|
| CODE:
|
| 30 |
2 |
▶ | RETVAL = PL_evalseq;
|
Branch: 1 branch
| Branch | True | False | Total |
| RETVAL = PL_evalseq;
|
0 |
2 |
2 |
|
| 31 |
|
| OUTPUT:
|
| 32 |
|
| RETVAL
|
| 33 |
|
|
|
| 34 |
|
| SV*
|
| 35 |
|
| count_lines(SV* scalar_string)
|
| 36 |
|
| CODE:
|
| 37 |
6505 |
| RETVAL = _count_lines(aTHX_ scalar_string );
|
| 38 |
|
| OUTPUT:
|
| 39 |
|
| RETVAL
|