| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
which can be called from C code (such as the guts of extensions).
|
|
|
|
|
|
| |
core, in ext/mro/mro.xs. Also move mro::_nextcan() to mro.xs. It needs direct
access to S_mro_get_linear_isa_c3(), and nothing on CPAN calls it, except via
methods defined in mro.pm. Hence all users already require mro;
|
|
|
|
|
| |
public API and be used outside the core. However, leave Perl_mro_meta_init() as
a private implementation detail.
|
|
|
|
|
|
| |
Perl_mro_get_from_name() to retrieve MROs by name, and PL_registered_mros to
store them in. Abolish the static array of mros, and instead register the dfs
and c3 MRO structures.
|
|
|
|
|
|
|
| |
method resolution orders.
mro_linear_dfs becomes a hash holding the different MROs' private data.
mro_linear_c3 becomes a shortcut pointer to the current MRO's private data.
|
|
|
|
|
| |
This is only a macro, without a Perl_ implementation.
Hopefully this fixes the Win32 build.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Add a parameter to S_incpush to indicate if the new directory should be
appended or prepended to @INC, and use it set to TRUE when parsing the
shebang line.
There is also a better version of the test.
This replaces commit ccb8f6a64f3dd06b4360bc27c194b28e6766a6ad.
|
|
|
|
|
| |
but is failing on Windows. Anyways sv_utf8_upgrade_nomg() is
a macro anyways, so moving the documentation to sv.h.
|
|
|
|
|
|
| |
From: karl williamson <public@khwilliamson.com>
Date: Tue, 16 Dec 2008 16:00:34 -0700
Message-ID: <49483312.80804@khwilliamson.com>
|
|
|
| |
p4raw-id: //depot/perl@34982
|
|
|
|
|
| |
|| defined(PERL_DECL_PROT), so add this where it is missing.
p4raw-id: //depot/perl@34972
|
|
|
|
|
|
|
| |
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510812010947p7df19438kc19c279bcffe4b83@mail.gmail.com>
Date: Mon, 1 Dec 2008 12:47:35 -0500
p4raw-id: //depot/perl@34971
|
|
|
|
|
| |
and Perl_save_aelem().
p4raw-id: //depot/perl@34966
|
|
|
|
|
|
| |
scope.c. "Inlined" macro functions in scope.h are actually space
inefficient.
p4raw-id: //depot/perl@34965
|
|
|
| |
p4raw-id: //depot/perl@34963
|
|
|
| |
p4raw-id: //depot/perl@34960
|
|
|
|
|
|
|
|
|
| |
SSCHECK(3);
SSPUSHINT(i);
SSPUSHPTR(ptr);
SSPUSHINT(type);
into a static function S_save_pushi32ptr().
p4raw-id: //depot/perl@34959
|
|
|
|
|
|
|
|
|
|
|
| |
SSCHECK(3);
SSPUSHPTR(ptr1);
SSPUSHPTR(ptr2);
SSPUSHINT(type);
into a static function S_save_pushptrptr().
It might be possible to make some of its callers trivial macros, and
so eliminate them as functions. But start with the easy part.
p4raw-id: //depot/perl@34957
|
|
|
|
|
|
|
|
|
| |
SSCHECK(2);
SSPUSHPTR(o);
SSPUSHINT(SAVEt_FREEOP);
into a single function Perl_save_pushptr(ptr, type), which the others
call. Implement the others as macros. This reduces the object code size.
p4raw-id: //depot/perl@34956
|
|
|
|
|
| |
[Unless it's a signed concept, use an usigned type.]
p4raw-id: //depot/perl@34948
|
|
|
|
|
| |
Hopefully it will get the message this time.
p4raw-id: //depot/perl@34947
|
|
|
|
|
| |
exported APIs.
p4raw-id: //depot/perl@34946
|
|
|
|
|
| |
go.
p4raw-id: //depot/perl@34944
|
|
|
| |
p4raw-id: //depot/perl@34942
|
|
|
| |
p4raw-id: //depot/perl@34941
|
|
|
|
|
|
| |
biologist word for stable" Msql-Mysql-modules-1.2219) so make it
static.
p4raw-id: //depot/perl@34940
|
|
|
| |
p4raw-id: //depot/perl@34938
|
|
|
|
|
| |
go.
p4raw-id: //depot/perl@34937
|
|
|
|
|
| |
static. Macros PUSHSUBST() and POPSUBST() are only viable in PERL_CORE.
p4raw-id: //depot/perl@34935
|
|
|
| |
p4raw-id: //depot/perl@34933
|
|
|
| |
p4raw-id: //depot/perl@34932
|
|
|
| |
p4raw-id: //depot/perl@34931
|
|
|
|
|
| |
Protect the prototype of S_vdie() with #if defined (PERL_IN_UTIL_C)
p4raw-id: //depot/perl@34929
|
|
|
| |
p4raw-id: //depot/perl@34927
|
|
|
| |
p4raw-id: //depot/perl@34926
|
|
|
|
|
| |
Wrap gen_constant_list in #if defined(PERL_IN_OP_C)
p4raw-id: //depot/perl@34925
|
|
|
| |
p4raw-id: //depot/perl@34924
|
|
|
| |
p4raw-id: //depot/perl@34923
|
|
|
|
|
| |
in the core. So it can go.
p4raw-id: //depot/perl@34922
|
|
|
| |
p4raw-id: //depot/perl@34920
|
|
|
|
|
| |
be static in op.c, so make it so.
p4raw-id: //depot/perl@34919
|
|
|
|
|
|
| |
reliable way I can see to keep our (unsupported) privates private is
to make them static whenever we can.
p4raw-id: //depot/perl@34918
|
|
|
| |
p4raw-id: //depot/perl@34917
|
|
|
| |
p4raw-id: //depot/perl@34904
|
|
|
|
|
|
|
|
|
|
|
|
| |
handler to SIG_DFL
Message-ID: <20081112234504.GI2062@tytlal.topaz.cx>
Updated patch to retain source compatibility.
Plus using the correct PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS
macro and running make regen.
p4raw-id: //depot/perl@34829
|
|
|
|
|
| |
Message-ID: <20081111000040.GB19329@tytlal.topaz.cx>
p4raw-id: //depot/perl@34819
|
|
|
|
|
| |
const SV *, then so can Perl_report_uninit().
p4raw-id: //depot/perl@34673
|
|
|
|
|
|
|
|
|
|
| |
to Perl_re_compile() can't be const, which means that the pattern
argument to Perl_pregcomp() can't be const, as can't the argument in
the function in the regexp engine structure.
It's a shame that no-one spotted this earlier.
(Again) I may have rendered the documentation inaccurate.
p4raw-id: //depot/perl@34672
|