Searched refs:XSUB (Results 1 – 25 of 72) sorted by relevance
123
124 @xsreturn = XS::APItest::XSUB::xsreturn(2);129 my $xsreturn = XS::APItest::XSUB::xsreturn(3);132 ( $xsreturn ) = XS::APItest::XSUB::xsreturn(3);135 is XS::APItest::XSUB::xsreturn_iv(), -2**31+1, 'XSRETURN_IV returns signed int';136 is XS::APItest::XSUB::xsreturn_uv(), 2**31+1, 'XSRETURN_UV returns unsigned int';137 is XS::APItest::XSUB::xsreturn_nv(), 0.25, 'XSRETURN_NV returns double';138 is XS::APItest::XSUB::xsreturn_pv(), "returned", 'XSRETURN_PV returns string';139 is XS::APItest::XSUB::xsreturn_pvn(), "returned", 'XSRETURN_PVN returns string with length';140 ok !XS::APItest::XSUB::xsreturn_no(), 'XSRETURN_NO returns falsey';141 ok XS::APItest::XSUB::xsreturn_yes(), 'XSRETURN_YES returns truthy';[all …]
23 - Reinstate XSUB, now works on modern EBCDIC perls as well.39 - XSUB is now deprecated and removed. see perl 5.20.0,47 - XSUB: use PERL_NO_GET_CONTEXT (see perlguts)71 - XSUB: reorder() and compose() treat with growing the string.72 - XSUB: provision against UTF8_ALLOW_* flags to be undefined in future.98 - XSUB: mkheader, _U_stringify() - avoid unpack('C*') on unicode.103 - XSUB: sv_setpvn() needs cast to (char*).104 - XSUB: avoid double FETCH for tied scalar variables.108 - Pure Perl: compose($not_canonically_reordered) works like that in XSUB,111 - XSUB: NFD(), NFC(), NFKD(), NFC(), and FCC() are now in XSUB, then[all …]
25 An B<XSUB> forms the basic unit of the XS interface. After compilation26 by the B<xsubpp> compiler, each XSUB amounts to a C function definition58 when the C interface coincides with the Perl interface, the XSUB66 the constructs necessary to let an XSUB manipulate Perl values, and67 creates the glue necessary to let Perl call the XSUB. The compiler76 first C<MODULE =Z<>> directive. Other XS directives and XSUB definitions111 If an XSUB is created to offer a direct translation between this function112 and Perl, then this XSUB will be used from Perl with the following code.118 The following XS file shows an XS subroutine, or XSUB, which120 function. This XSUB represents a direct translation between[all …]
68 This tutorial can still be used on such a system. The XSUB build mechanism170 #include "XSUB.h"454 You specify the parameters that will be passed into the XSUB on the line(s)461 wish to send this value back as the return value of the XSUB function. In735 Anything after this line is the description of XSUB functions.742 function, then another time in the second part, when an XSUB interface to756 description of an XSUB:769 on here, one can add a CODE section to this XSUB:783 two lines of the description of XSUB. What about C<OUTPUT:> section? In788 shortcut the XSUB to become:[all …]
27 C return type of your XSUB, it'll be the typemapping mechanism that159 you simply return a C<char *> from your XSUB, the core typemap will162 that will be returned from your XSUB to Perl.248 I<$pname> - the full name of the XSUB, with including the C<PACKAGE>258 I<$ALIAS> - non-zero if the current XSUB has any aliases declared with503 Only the INPUT part of this is implemented (Perl to XSUB) and there569 (XSUB to Perl), a function named C<XS_pack_$ntype> is called575 Conversely for C<INPUT> (Perl to XSUB) mapping, the610 to XSUB) typemap is identical, but the C<OUTPUT> typemap passes626 C<sometype **> C array, within your XSUB, the return value from
10 MODULE = XS::APItest::XSUB PACKAGE = XS::APItest::XSUB
13 MODULE = XS::APItest::XSUB1 PACKAGE = XS::APItest::XSUB
20 'Lexical warning passed to XSUB');39 'use warnings passed to XSUB');60 'use warnings passed to XSUB while use strict');
40 #define XSUB 1 /* expanding ${} string */ macro412 type = XSUB; in expand()415 type = XSUB; in expand()448 type = XSUB; in expand()502 case XSUB: in expand()622 if (type == XSUB) { in expand()782 return XSUB; in varsub()821 state = c == '@' ? XNULLSUB : XSUB; in varsub()849 state = p[1] == '@' ? XNULLSUB : XSUB; in varsub()865 state = XSUB; in varsub()
437 #include "XSUB.h"457 #include "XSUB.h"474 #include "XSUB.h"489 #include "XSUB.h"498 #include "XSUB.h"506 #include "XSUB.h"515 #include "XSUB.h"536 #include "XSUB.h"552 #include "XSUB.h"565 #include "XSUB.h"[all …]
15 print "1..0 # skipped: XSUB, or Perl 5.8.0 or later".
23 print "1..0 # skipped: XSUB, or Perl 5.8.0 or later".
34 q(Defining an XSUB over an existing sub with no stash under warnings),
125 # Test ability to modify existing sub's (or XSUB's) attributes.
55 XConcat, XADD, XSUB, XMUL, XDIV, XNOT, XLOG2, XAND, XOR, XXOR, XSRA, XSRL, enumerator
568 .Case("sub", tgtok::XSUB) in LexExclaim()
21 You have created an XSUB interface to an application's C API.517 directly from an XSUB function. In this case it is not necessary to1078 Here is a snippet of XSUB which defines I<CallSubPV>.1310 Here is a simple XSUB which illustrates the mechanics of calling both1351 Here is a trivial XSUB which prints the context in which it is1422 perl --> XSUB --> external library1430 perl --> XSUB --> external library1436 perl <-- XSUB <-- external library <-- call_* <----+1449 perl --> XSUB --> event handler1847 a random order. The C<ST> macro as used when coding an XSUB is ideal[all …]
1070 returning one value. Usually that value was the GV for the XSUB,1074 In Perl 5.004, if an XSUB is declared as returning C<void>, it1076 backward-compatibility exception; see below). If your XSUB really1080 C<void> XSUB is really C<void> or if it wants to return an C<SV *>.1081 It does so by examining the text of the XSUB: if I<xsubpp> finds1083 XSUB's return type is really C<SV *>.
100 #include <XSUB.h>
190 XSUB symbols. This has no effect on boot_* symbols since201 - The XSUB.h changes to make XS(name) use XS_INTERNAL(name)238 XSUB symbols. It's a no-op on perls before 5.15.2.
398 - The C<Useqq> flag is supported (but not by the XSUB version yet).416 - C<Dumpxs> is now the exact XSUB equivalent of C<Dump>.
679 Not an XSUB reference
79 my @header_files = qw(EXTERN.h INTERN.h XSUB.h av.h config.h cop.h cv.h
7 /* VXSXSDP = XSUB Details Proto */
505 #include "XSUB.h"525 #include "XSUB.h"