™.. XS::APItest - Online Linux Manual PageSection : 3pm
Updated : 2009-04-14
Source : perl v5.10.1
Note : Perl Programmers Reference Guide
NAMEXS::APItest − Test the perl C API
SYNOPSIS use XS::APItest;
print_double(4);
ABSTRACTThis module tests the perl C API. Currently tests that \*(C`printf\*(C'\fR works correctly.
DESCRIPTIONThis module can be used to check that the perl C API is behaving correctly. This module provides test functions and an associated test script that verifies the output. This module is not meant to be installed.
EXPORTExports all the test functions: print_double Test that a double-precision floating point number is formatted correctly by \*(C`printf\*(C'\fR. print_double( $val );
Output is sent to STDOUT. print_long_double Test that a \*(C`long double\*(C'\fR is formatted correctly by \*(C`printf\*(C'\fR. Takes no arguments \- the test value is hard-wired into the function (as ‟7”). print_long_double();
Output is sent to STDOUT. have_long_double Determine whether a \*(C`long double\*(C'\fR is supported by Perl. This should be used to determine whether to test \*(C`print_long_double\*(C'\fR. print_long_double() if have_long_double;
print_nv Test that an \*(C`NV\*(C'\fR is formatted correctly by \*(C`printf\*(C'\fR. print_nv( $val );
Output is sent to STDOUT. print_iv Test that an \*(C`IV\*(C'\fR is formatted correctly by \*(C`printf\*(C'\fR. print_iv( $val );
Output is sent to STDOUT. print_uv Test that an \*(C`UV\*(C'\fR is formatted correctly by \*(C`printf\*(C'\fR. print_uv( $val );
Output is sent to STDOUT. print_int Test that an \*(C`int\*(C'\fR is formatted correctly by \*(C`printf\*(C'\fR. print_int( $val );
Output is sent to STDOUT. print_long Test that an \*(C`long\*(C'\fR is formatted correctly by \*(C`printf\*(C'\fR. print_long( $val );
Output is sent to STDOUT. print_float Test that a single-precision floating point number is formatted correctly by \*(C`printf\*(C'\fR. print_float( $val );
Output is sent to STDOUT. call_sv, call_pv, call_method These exercise the C calls of the same names. Everything after the flags arg is passed as the the args to the called function. They return whatever the C function itself pushed onto the stack, plus the return value from the function; for example call_sv( sub { @_, 'c' }, G_ARRAY, 'a', 'b'); # returns 'a', 'b', 'c', 3
call_sv( sub { @_ }, G_SCALAR, 'a', 'b'); # returns 'b', 1
eval_sv Evaluates the passed SV. Result handling is done the same as for \*(C`call_sv()\*(C'\fR etc. eval_pv Exercises the C function of the same name in scalar context. Returns the same SV that the C function returns. require_pv Exercises the C function of the same name. Returns nothing.
SEE ALSOXS::Typemap, perlapi.
AUTHORSTim Jenness, <t.jenness@jach.hawaii.edu>, Christian Soeller, <csoelle@mph.auckland.ac.nz>, Hugo van der Sanden <hv@crypt.compulink.co.uk>
COPYRIGHT AND LICENSECopyright (C) 2002,2004 Tim Jenness, Christian Soeller, Hugo van der Sanden. All Rights Reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. 0
Johanes Gumabo
Data Size : 16,210 byte
man-XS::APItest.3pmBuild : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 199,521
Visitor ID : :
Visitor IP : 18.116.37.200 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|XS::APItest.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\|
) (htmlprn|149|XS::APItest.3pm|36/37|.el══─{─══. ds -- — |.el══─{─══. ds -- \|\(em\|
) (parse_manual_page_|249|XS::APItest.3pm|41|br══─}─══|'br══─}─══
) (htmlprn|149|XS::APItest.3pm|41|'br══─}─══ |'br══─}─══
) (rof_nr_x|149|XS::APItest.3pm|51/52|\nF|.ie \nF ══─{─══. de IX
) (rof_unit_scale_px|41|XS::APItest.3pm|51/52|F|.ie \nF ══─{─══. de IX
) (rof_if|19|XS::APItest.3pm|51/52|\nF|.ie \nF ══─{─══. de IX
) (htmlprn|149|XS::APItest.3pm|51/52|.ie \nF ══─{─══. de IX|.ie \nF ══─{─══. de IX
) (rof_escape_sequence|91|XS::APItest.3pm|53|\$1\t\\n%\t"\\$2" |. tm Index:\\$1\t\\n%\t"\\$2"
) (parse_manual_page_|249|XS::APItest.3pm|57|══─}─══|.══─}─══
) (htmlprn|149|XS::APItest.3pm|57|.══─}─══ |.══─}─══
) (rof_escape_sequence|91|XS::APItest.3pm|142|\*(C`printf\*(C'\fR |This module tests the perl C \s-1API\s0. Currently tests that \f(CW\*(C`printf\*(C'\fR
) (rof_escape_sequence|91|XS::APItest.3pm|157|\*(C`printf\*(C'\fR. |correctly by \f(CW\*(C`printf\*(C'\fR.
) (rof_escape_sequence|91|XS::APItest.3pm|166|\*(C`long double\*(C'\fR is formatted correctly by |Test that a \f(CW\*(C`long double\*(C'\fR is formatted correctly by
) (rof_escape_sequence|91|XS::APItest.3pm|167|\*(C`printf\*(C'\fR. Takes no arguments \- the test value is hard-wired |\&\f(CW\*(C`printf\*(C'\fR. Takes no arguments \- the test value is hard-wired
) (rof_escape_sequence|91|XS::APItest.3pm|177|\*(C`long double\*(C'\fR is supported by Perl. This should |Determine whether a \f(CW\*(C`long double\*(C'\fR is supported by Perl. This should
) (rof_escape_sequence|91|XS::APItest.3pm|178|\*(C`print_long_double\*(C'\fR. |be used to determine whether to test \f(CW\*(C`print_long_double\*(C'\fR.
) (rof_escape_sequence|91|XS::APItest.3pm|185|\*(C`NV\*(C'\fR is formatted correctly by |Test that an \f(CW\*(C`NV\*(C'\fR is formatted correctly by
) (rof_escape_sequence|91|XS::APItest.3pm|186|\*(C`printf\*(C'\fR. |\&\f(CW\*(C`printf\*(C'\fR.
) (rof_escape_sequence|91|XS::APItest.3pm|195|\*(C`IV\*(C'\fR is formatted correctly by |Test that an \f(CW\*(C`IV\*(C'\fR is formatted correctly by
) (rof_escape_sequence|91|XS::APItest.3pm|196|\*(C`printf\*(C'\fR. |\&\f(CW\*(C`printf\*(C'\fR.
) (rof_escape_sequence|91|XS::APItest.3pm|205|\*(C`UV\*(C'\fR is formatted correctly by |Test that an \f(CW\*(C`UV\*(C'\fR is formatted correctly by
) (rof_escape_sequence|91|XS::APItest.3pm|206|\*(C`printf\*(C'\fR. |\&\f(CW\*(C`printf\*(C'\fR.
) (rof_escape_sequence|91|XS::APItest.3pm|215|\*(C`int\*(C'\fR is formatted correctly by |Test that an \f(CW\*(C`int\*(C'\fR is formatted correctly by
) (rof_escape_sequence|91|XS::APItest.3pm|216|\*(C`printf\*(C'\fR. |\&\f(CW\*(C`printf\*(C'\fR.
) (rof_escape_sequence|91|XS::APItest.3pm|225|\*(C`long\*(C'\fR is formatted correctly by |Test that an \f(CW\*(C`long\*(C'\fR is formatted correctly by
) (rof_escape_sequence|91|XS::APItest.3pm|226|\*(C`printf\*(C'\fR. |\&\f(CW\*(C`printf\*(C'\fR.
) (rof_escape_sequence|91|XS::APItest.3pm|236|\*(C`printf\*(C'\fR. |correctly by \f(CW\*(C`printf\*(C'\fR.
) (rof_escape_sequence|91|XS::APItest.3pm|257|\*(C`call_sv()\*(C'\fR etc. |\&\f(CW\*(C`call_sv()\*(C'\fR etc.
)