summaryrefslogtreecommitdiff
path: root/sv.h
Commit message (Collapse)AuthorAgeFilesLines
* Fixing the SVREFCNT macroAndy Lester2005-12-291-1/+1
| | | | | Message-ID: <20051228193051.GD23207@petdance.com> p4raw-id: //depot/perl@26524
* Typo fixes from Robin Houston inNicholas Clark2005-12-161-2/+2
| | | | | <20051216201446.GA24709@rpc142.cs.man.ac.uk> p4raw-id: //depot/perl@26382
* Map the HE arena onto SV type 0 (SVt_NULL).Nicholas Clark2005-11-191-0/+3
| | | | | Abolish PL_he_root and PL_he_arenaroot. p4raw-id: //depot/perl@26171
* Move the location of the definition of the arena slot used for pteNicholas Clark2005-11-171-0/+3
| | | | | | | into sv.h, to keep it in one central place. Change it to use SVt_RV. (Having SVt_IV for real use will be useful. SVt_RV has no body, and doesn't pretend to have one, so it is spare.) p4raw-id: //depot/perl@26148
* Re: eliminate discreet arenarootsJim Cromie2005-11-161-1/+2
| | | | | | Message-ID: <4378E5B0.3010708@gmail.com> Date: Mon, 14 Nov 2005 12:29:52 -0700 p4raw-id: //depot/perl@26141
* Mark all places where perl needs to look at a possibly-freed scalarNicholas Clark2005-11-141-0/+5
| | | | | with a macro SvIS_FREED(sv) p4raw-id: //depot/perl@26132
* Fix breakages that prevended -DPERL_POISON from compiling.Nicholas Clark2005-11-131-2/+9
| | | p4raw-id: //depot/perl@26112
* Replace sv_catsv_mg and sv_catpvn_mg, and move the obsolete bodies toNicholas Clark2005-10-291-0/+3
| | | | | mathoms.c p4raw-id: //depot/perl@25885
* Add a new SMAGIC flag, to signal a call to SvSETMAGIC. Add it toNicholas Clark2005-10-291-0/+1
| | | | | | | sv_catpvn_flags and sv_catsv_flags, and then re-implement sv_catpvn_mg and sv_catsv_mg as calls to sv_catpvn_flags and sv_catsv_flags respectively. p4raw-id: //depot/perl@25884
* sv_2pv_nolen, sv_2pvbyte_nolen and sv_2pvutf8_nolen can all be replacedNicholas Clark2005-10-291-0/+3
| | | | | with terse macros, and the function bodies retired. p4raw-id: //depot/perl@25883
* Replace sv_force_normal with a macro that calls sv_force_normal_flags.Nicholas Clark2005-10-291-1/+2
| | | p4raw-id: //depot/perl@25879
* Replace sv_unref with a macro that calls sv_unref_flagsNicholas Clark2005-10-291-0/+2
| | | p4raw-id: //depot/perl@25878
* sv_taint() can easily be replaced by a macro.Nicholas Clark2005-10-291-0/+2
| | | p4raw-id: //depot/perl@25876
* Fix to PERL_DEBUG_COWSteve Peters2005-09-231-5/+5
| | | | | Message-ID: <20050923181109.GA1350@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@25590
* As SvPVX_mutable and SvPVX_const are new, they don't need to be LVALUEsNicholas Clark2005-09-221-4/+5
| | | p4raw-id: //depot/perl@25571
* Remove the last STRLEN n_a;s that my compiler can reach.Nicholas Clark2005-09-211-0/+6
| | | p4raw-id: //depot/perl@25530
* sv-head refactorJim Cromie2005-08-301-66/+32
| | | | | Message-ID: <cfe85dfa05082520425f7a7738@mail.gmail.com> p4raw-id: //depot/perl@25337
* Given that we now have a union, there's no need for all the HvARRAY()Nicholas Clark2005-08-171-0/+11
| | | | | casting games. p4raw-id: //depot/perl@25297
* Re: Smoke [5.9.3] 25237 FAIL(F) linux 2.6.12-4-686 [debian] (i686/1 cpu)Dominic Dunlop2005-07-311-1/+3
| | | | | Message-Id: <33378322-189C-4D70-AC0B-1AF589DD56E7@mac.com> p4raw-id: //depot/perl@25247
* Indent some of the #ifdef/#define/#endif to make the nesting clearer.Nicholas Clark2005-06-231-54/+53
| | | | | Simplify SvPV_free slightly. p4raw-id: //depot/perl@24958
* assert that you aren't assigning to the NVX of an AV or HVNicholas Clark2005-06-151-0/+1
| | | p4raw-id: //depot/perl@24857
* Make SvUPGRADE always have the value '1'Rafael Garcia-Suarez2005-06-131-1/+1
| | | | | Make sv_upgrade a void function p4raw-id: //depot/perl@24817
* This isn't an LVALUE, so make the compiler enforce that.Nicholas Clark2005-06-111-1/+1
| | | p4raw-id: //depot/perl@24804
* Shrink shared hash scalars from PVIV to PVNicholas Clark2005-06-111-1/+3
| | | p4raw-id: //depot/perl@24802
* Add SvGROW_mutableNicholas Clark2005-06-101-0/+2
| | | p4raw-id: //depot/perl@24796
* Add SvPV_mutable for use by the old COW code.Nicholas Clark2005-06-081-0/+5
| | | p4raw-id: //depot/perl@24767
* Allow a null length pointer to sv_pvn_force_flags.Nicholas Clark2005-06-081-0/+4
| | | | | Add SvPV_force_nolen and use it to remove some C<n_a>s p4raw-id: //depot/perl@24759
* s/PERL_COPY_ON_WRITE/PERL_OLD_COPY_ON_WRITE/gNicholas Clark2005-06-081-2/+2
| | | p4raw-id: //depot/perl@24755
* Don't test the core XS code yet with PERL_DEBUG_COW > 1Nicholas Clark2005-06-081-1/+2
| | | p4raw-id: //depot/perl@24751
* Add SvPVx_nolen and SvPVbytex_nolenNicholas Clark2005-06-081-0/+4
| | | p4raw-id: //depot/perl@24747
* The definition of SvPVx_nolen_const is missing for non GNU-C compilersRafael Garcia-Suarez2005-06-071-0/+1
| | | p4raw-id: //depot/perl@24741
* Add SvPV_nolen_const and SvPV_nomg_constNicholas Clark2005-06-071-0/+6
| | | p4raw-id: //depot/perl@24739
* Simplify the implementation of SvPV*nolen functionsNicholas Clark2005-06-071-3/+3
| | | p4raw-id: //depot/perl@24733
* Ensure string table counts are balanced. (Was not true in op/pack.t)Nicholas Clark2005-06-071-4/+3
| | | p4raw-id: //depot/perl@24732
* Need const versions of SvPV(), so that its callers can indicateNicholas Clark2005-06-071-3/+23
| | | | | | | | | | | | | whether they are read/write or read only Also provide a mutable version, for the internals to use where it needs a non-const pointer, but will be writing. Callers of this are assumed to be aware of how copy on write is working, and to keep track of core changes. For now check that SVs are not READONLY when const versions are used. (with DEBUG_COW > 1). COW is going to have to be orthogonal to Perl's READONLY flag, but for now it provides a good test indicator. p4raw-id: //depot/perl@24721
* Unvoid SvUPGRADEAndy Lester2005-06-071-1/+1
| | | | | Message-ID: <20050607040850.GA7033@petdance.com> p4raw-id: //depot/perl@24717
* Abstract all access to the shared hash value through SvSHARED_HASH()Nicholas Clark2005-06-061-0/+2
| | | p4raw-id: //depot/perl@24716
* Store the xhv_aux structure after the main array.Nicholas Clark2005-06-011-1/+4
| | | | | | | This reduces the size of HV bodies from 24 to 20 bytes on a 32 bit build. It has the side effect of defined %symbol_table:: now always being true. defined %hash is already deprecated. p4raw-id: //depot/perl@24660
* Change the IV to a union.Nicholas Clark2005-05-291-75/+66
| | | | | | | | Revert the NV union back to a plain NV Transpose the positions of IV and NV (NV is now first) Don't allocate the NV for PV,PVIV,PVAV and PVHV (last 2 non-allocations currently disabled by default) p4raw-id: //depot/perl@24617
* Documentation nits and fixes for Sv*_set() macrosSteve Peters2005-05-271-9/+13
| | | | | Message-ID: <20050526195850.GA1308@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@24592
* Rename the members of the SV head union to avoid pre-processorNicholas Clark2005-05-261-51/+51
| | | | | arguments with embed.h p4raw-id: //depot/perl@24590
* Reorder the union to cause Win32 compilers to use void * alignment forNicholas Clark2005-05-241-7/+7
| | | | | it. p4raw-id: //depot/perl@24569
* Don't allocate an IV slot where the type doesn't use the IV slot.Nicholas Clark2005-05-231-0/+7
| | | p4raw-id: //depot/perl@24557
* create an "allocated" structure for PVs, PVAVs and PVHVsNicholas Clark2005-05-231-0/+2
| | | p4raw-id: //depot/perl@24544
* Re-order IVX slot in SV bodiesNicholas Clark2005-05-221-9/+20
| | | p4raw-id: //depot/perl@24542
* Add a union in place of xnv_nv, which allows AVs and HVs to re-useNicholas Clark2005-05-211-7/+72
| | | | | | | the memory to store pointers and integers. (Part 1 - will be reworked to be more efficient when IV or void* is 64 bit soon) p4raw-id: //depot/perl@24538
* Move the xpv_pv/xrv_rv member into the SV head, in a union withNicholas Clark2005-05-211-35/+63
| | | | | IV and UV. Avoid allocating a body for IVs and RVs. p4raw-id: //depot/perl@24531
* Goodbye AvFLAGSNicholas Clark2005-05-201-0/+3
| | | p4raw-id: //depot/perl@24518
* consting-eleventy.patch: More consts, plus actual bug fixAndy Lester2005-05-161-2/+2
| | | | | Message-ID: <20050516151353.GA25387@petdance.com> p4raw-id: //depot/perl@24489
* Sv_*set() doc's and extra const's for the SvPVX_const() tasksSteve Peters2005-05-091-1/+27
| | | | | Message-ID: <20050509014917.GA24132@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@24422