logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ExtUtils::Constant::Utils - helper functions for ExtUtils::Constant

Author

Nicholas Clark <nick@ccl4.org> based on the code in "h2xs" by Larry Wall and others perl v5.40.1 2025-07-03 ExtUtils::Constant::Utils(3perl)

Description

ExtUtils::Constant::Utils packages up utility subroutines used by ExtUtils::Constant, ExtUtils::Constant::Base and derived classes. All its functions are explicitly exportable.

Name

ExtUtils::Constant::Utils - helper functions for ExtUtils::Constant

Synopsis

use ExtUtils::Constant::Utils qw (C_stringify); $C_code = C_stringify $stuff;

Usage

C_stringify NAME A function which returns a 7 bit ASCII correctly \ escaped version of the string passed suitable for C's "" or ''. It will die if passed Unicode characters. perl_stringify NAME A function which returns a 7 bit ASCII correctly \ escaped version of the string passed suitable for a perl "" string.

See Also