summaryrefslogtreecommitdiff
path: root/sv.h
Commit message (Collapse)AuthorAgeFilesLines
* Docs: Emphasize SvPVbyte and SvPVutf8 over SvPV. This updatesFelipe Gasper2021-04-141-3/+13
| | | | | | perlguts, perlxs, perlxstut, and perlapi. Issue #18600
* perlapi: link to SvPVKarl Williamson2020-12-301-2/+2
|
* perlapi: Consolidate newRV and newRV_inc podKarl Williamson2020-12-301-3/+4
|
* perlapi: Two references aren't yet linksKarl Williamson2020-12-271-2/+2
| | | | This was causing a podcheck error
* Document SvPV_renewKarl Williamson2020-12-271-0/+11
|
* perlapi: SvPVbyte_force() and kin: clarify.Karl Williamson2020-12-201-8/+11
|
* perlapi: Document and consolidate SvPV functionsKarl Williamson2020-12-201-40/+87
|
* perlapi: Remove duplicate textKarl Williamson2020-12-131-3/+0
| | | | This came about in a rebasing error
* Document and consolidate SvPV..force functionsKarl Williamson2020-12-131-14/+45
|
* perlapi: Consolidate SvSET-ish entriesKarl Williamson2020-12-061-10/+13
| | | | These should also be in the SV section instead of Magic
* Evaluate arg once in all forms of SvTRUEKarl Williamson2020-12-061-35/+26
| | | | 5.32 did this for one form; now all do.
* Document SvSHARED_HASHKarl Williamson2020-11-291-0/+6
|
* perlapi: Consolidate svREFCNT_dec-ish entriesKarl Williamson2020-11-291-5/+4
|
* perlapi: Consolidate SvPVX-ish entriesKarl Williamson2020-11-291-4/+16
|
* perlapi: Consolidate SvREFCNT_INC-ish entriesKarl Williamson2020-11-281-28/+27
|
* Confine scope of SV_CONST to coreKarl Williamson2020-11-221-41/+44
| | | | as well as the constants it uses. This is unused in cpan
* perlapi: Consolidate Sv{INU]VX-ish entriesKarl Williamson2020-11-221-36/+27
|
* sv.h: Add commentsKarl Williamson2020-11-221-2/+2
|
* perlapi: Consolidate sv_catpv-ish entriesKarl Williamson2020-11-211-3/+0
|
* Document isGV_with_GPKarl Williamson2020-11-211-0/+7
|
* perlapi: Consolidate sv_catsv-ish entriesKarl Williamson2020-11-171-2/+0
|
* perlapi: Consolidate sv_catpvn-ish entriesKarl Williamson2020-11-171-4/+0
|
* Add a few helpers to B for INVLISTNicolas R2020-11-101-0/+5
| | | | | | | | | | | | | This commit provide some basic method to access to internal fields from one INVLIST: SVt_INVLIST - prev_index - is_offset - array_len - get_invlist_array This allows B::C to be walk and save invlists.
* perlapi: Consolidate sv_setsv-ish entriesKarl Williamson2020-11-091-3/+0
|
* sv.c: Change some formal param names for clarity, consistencyKarl Williamson2020-11-091-1/+1
| | | | | | The names previously indicated some things were strings that weren't necessarily so. Some nearly identical functions had varying parameter names.
* autodoc.pl: Enhance apidoc_section featureKarl Williamson2020-11-061-4/+4
| | | | | | | | | | | This feature allows documentation destined for perlapi or perlintern to be split into sections of related functions, no matter where the documentation source is. Prior to this commit the line had to contain the exact text of the title of the section. Now it can be a $variable name that autodoc.pl expands to the title. It still has to be an exact match for the variable in autodoc, but now, the expanded text can be changed in autodoc alone, without other files needing to be updated at the same time.
* perlapi: Document SvPV_freeKarl Williamson2020-10-311-2/+10
|
* perlapi: svtype is a typedefKarl Williamson2020-10-091-1/+1
|
* sv.h: sv_collxfrm didn't work properlyKarl Williamson2020-09-281-1/+1
| | | | | | | | | It is supposed to be a wrapper for sv_collxfrm_flags, but it was just calling sv_cmp_flags instead. The consequences are none except under 'use locale' in which case you always got the C locale. I did not add tests, because it is really a pain to write portable locale tests, and this doesn't seem to be much used. In core the '_flags' form was always used.
* Use macro instead of its expansionKarl Williamson2020-09-091-4/+4
| | | | | We already have a macro that expands to what this code does; it's clearer to use it.
* perlapi: Turn some references to mg_[gs]et into linksKarl Williamson2020-09-041-2/+2
|
* Reorganize perlapiKarl Williamson2020-09-041-3/+3
| | | | | This uses a new organization of sections that I came up with. I asked for comments on p5p, but there were none.
* Change some =head1 to apidoc_section linesKarl Williamson2020-09-041-1/+1
| | | | | apidoc_section is slightly favored over head1, as it is known only to autodoc, and can't be confused with real pod.
* sv.h: Clarify commentKarl Williamson2020-09-011-1/+1
|
* Document SvOOK_offKarl Williamson2020-08-221-0/+10
|
* Document SvVSTRING_mgKarl Williamson2020-08-221-1/+7
|
* Note SV_UTF8_NO_ENCODING exists, but deprecatedKarl Williamson2020-08-151-0/+7
|
* Use static asserts when comparing sizeof() to a constantDagfinn Ilmari Mannsåker2020-07-201-2/+2
|
* handy.h: Create nBIT_UMAX() macroKarl Williamson2020-07-171-1/+1
| | | | This encapsulates a common paradigm
* Make SvTRUEx identical to SvTRUEKarl Williamson2020-07-171-9/+5
| | | | | There is no longer any need for the 'x' version, as SvTRUE evaluates its argument just once since 5.32.
* Update pod for SvTRUE, to indicate single param evaluationKarl Williamson2020-07-171-1/+2
| | | | | 5.32 changed this macro into an inline function so that 'sv' only gets evaluated once, but didn't update the documentation to reflect that.
* sv.h: Wanted UOK, but said IOKKarl Williamson2020-07-171-1/+1
| | | | I don't know the consequences of this bug
* sv.h: Change formal parameter name to reflect its usageKarl Williamson2020-07-171-56/+56
| | | | | | The formal parameter in these macros is 'lp', which elsewhere is used to signifiy a pointer to length. But instead here it isn't a pointer, but the plain length
* Fix a bunch of repeated-word typosDagfinn Ilmari Mannsåker2020-05-221-4/+4
| | | | | Mostly in comments and docs, but some in diagnostic messages and one case of 'or die die'.
* SvTRUE might need to take aTHXPaul "LeoNerd" Evans2020-03-011-1/+1
|
* Initial experiment at moving SvTRUE into a static inline macroPaul "LeoNerd" Evans2020-03-011-1/+1
|
* Clarify SvPVbyteFOO docsKarl Williamson2019-12-211-5/+8
| | | | These all croak if the SV string is in UTF-8 containing wide characters.
* sv.h: Fix typo in podKarl Williamson2019-12-161-2/+2
|
* Double the number of possible SV typesKarl Williamson2019-11-161-3/+6
| | | | | As per discussion beginning in http://nntp.perl.org/group/perl.perl5.porters/25656
* Some SvREFCNT_foo are no longer macrosKarl Williamson2019-09-151-6/+6
| | | | but are inline functions. They should be listed in embed.fnc.