<html>
<head>
<title>SWIG:Examples:perl5:constants</title>
</head>

<body bgcolor="#ffffff">

<tt>SWIG/Examples/perl5/constants/</tt>
<hr>

<H2>Wrapping C Constants</H2>

<p>
When SWIG encounters C preprocessor macros and C declarations that look like constants,
it creates Perl5 variables with an identical value.  Click <a href="example.i">here</a>
to see a SWIG interface with some constant declarations in it.

<h2>Accessing Constants from Perl</h2>

Click <a href="runme.pl">here</a> to see a script that pr