Skip to content

Commit

Permalink
embed.fnc: Add 'const' to some prototypes
Browse files Browse the repository at this point in the history
These are macros, so the const has no compilation effect, but the
function the macros expand to does have a const, so make them match.
  • Loading branch information
khwilliamson committed Jul 3, 2024
1 parent 3f829cd commit 0084f30
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions embed.fnc
Original file line number Diff line number Diff line change
Expand Up @@ -3080,22 +3080,22 @@ Adfpv |void |sv_catpvf_mg |NN SV * const sv \
|...
Adp |void |sv_catpv_mg |NN SV * const dsv \
|NULLOK const char * const sstr
AMbdp |void |sv_catpvn |NN SV *dsv \
AMbdp |void |sv_catpvn |NN SV * const dsv \
|NN const char *sstr \
|STRLEN len
Adp |void |sv_catpvn_flags|NN SV * const dsv \
|NN const char *sstr \
|const STRLEN len \
|const I32 flags
AMbdp |void |sv_catpvn_mg |NN SV *dsv \
AMbdp |void |sv_catpvn_mg |NN SV * const dsv \
|NN const char *sstr \
|STRLEN len
AMbdp |void |sv_catsv |NN SV *dsv \
|NULLOK SV *sstr
Adp |void |sv_catsv_flags |NN SV * const dsv \
|NULLOK SV * const sstr \
|const I32 flags
AMbdp |void |sv_catsv_mg |NN SV *dsv \
AMbdp |void |sv_catsv_mg |NN SV * const dsv \
|NULLOK SV *sstr
Adp |void |sv_chop |NN SV * const sv \
|NULLOK const char * const ptr
Expand Down
6 changes: 3 additions & 3 deletions proto.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0084f30

Please sign in to comment.