Skip to content

Commit

Permalink
intrpvar.h: Swap position of two defns; add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
khwilliamson committed Apr 29, 2021
1 parent 2473a82 commit 7e94881
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions intrpvar.h
Expand Up @@ -726,9 +726,12 @@ PERLVARA(I, curlocales, 12, const char *)
#endif
#ifdef USE_LOCALE_COLLATE

PERLVAR(I, collation_name, char *) /* Name of current collation */
PERLVAR(I, collxfrm_base, Size_t) /* Basic overhead in *xfrm() */
/* The emory needed to store the collxfrm transformation of a string with
* length 'x' is predicted by the linear equation mx+b; m=mult, b=base */
PERLVARI(I, collxfrm_mult,Size_t, 2) /* Expansion factor in *xfrm() */
PERLVAR(I, collxfrm_base, Size_t) /* Basic overhead in *xfrm() */

PERLVAR(I, collation_name, char *) /* Name of current collation */
PERLVARI(I, collation_ix, U32, 0) /* Collation generation index */
PERLVARI(I, strxfrm_NUL_replacement, U8, 0) /* Code point to replace NULs */
PERLVARI(I, strxfrm_is_behaved, bool, TRUE)
Expand Down

0 comments on commit 7e94881

Please sign in to comment.