Skip to content

Commit

Permalink
add some docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tonycoz committed Dec 10, 2024
1 parent 5e485a6 commit 2db5f1b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions util.c
Original file line number Diff line number Diff line change
Expand Up @@ -5698,6 +5698,18 @@ S_xs_version_bootcheck(pTHX_ SSize_t items, SSize_t ax, const char *xs_p,
}
}

/*
=for apidoc api_version_check
Used by the PERL_API_VERSION_CHECK macro to compare the perl the
object was built with and the perl that C<libperl> was built with.
This can be used to ensure that these match and produces a more
diagnosable than random crashes and mis-behaviour.
=cut
*/

void
Perl_api_version_check(size_t interp_size, void *v_my_perl,
const char *api_version) {
Expand Down

0 comments on commit 2db5f1b

Please sign in to comment.