| 1 |
|
| #include "EXTERN.h" |
| 2 |
|
| #include "perl.h" |
| 3 |
|
| #include "XSUB.h" |
| 4 |
|
| |
| 5 |
|
| #include "ppport.h" |
| 6 |
|
| |
| 7 |
|
| SV* typeis ( SV* what ) ; |
| 8 |
|
| |
| 9 |
0 |
| SV* typeis ( SV* what ) |
| 10 |
|
| { |
| 11 |
0 |
▶ | if ( SvIOK( what ) ) |
Branch: 1 branch
| Branch | True | False | Total |
| if ( SvIOK( what ) ) |
0 |
0 |
0 |
|
| 12 |
0 |
| return newSVpvs( "integer" ) ; |
| 13 |
0 |
▶ | else if ( SvNOK( what ) ) |
Branch: 1 branch
| Branch | True | False | Total |
| else if ( SvNOK( what ) ) |
0 |
0 |
0 |
|
| 14 |
0 |
| return newSVpvs( "double" ) ; |
| 15 |
0 |
▶ | else if ( SvPOK( what ) ) |
Branch: 1 branch
| Branch | True | False | Total |
| else if ( SvPOK( what ) ) |
0 |
0 |
0 |
|
| 16 |
0 |
| return newSVpvs( "string" ) ; |
| 17 |
|
| |
| 18 |
0 |
| return newSVpvs( "unknown" ) ; |
| 19 |
|
| } |
| 20 |
|
| |
| 21 |
|
| |
| 22 |
|
| MODULE = NoSQL::PL2SQL PACKAGE = NoSQL::PL2SQL::Node |
| 23 |
|
| |
| 24 |
|
| PROTOTYPES: ENABLE |
| 25 |
|
| |
| 26 |
|
| SV* |
| 27 |
|
| typeis( what ) |
| 28 |
|
| SV* what |