~ubuntu-branches/ubuntu/maverick/swig1.3/maverick

« back to all changes in this revision

Viewing changes to Examples/perl5/constants2/example.pl

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-09-01 18:35:55 UTC
  • mfrom: (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050901183555-eq59uwhq8b62e44c
Tags: 1.3.24-1ubuntu4
* Use php5-dev instead of php4-dev, to kick php4 out of main.
* Drop support for generation of pike bindings, as nothing uses it,
  and swig is the only thing keeping pike7.6 in main (Ubuntu #13796)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# file: example.pl
2
 
 
3
 
use example;
4
 
 
5
 
print "ICONST  = ", example::ICONST, " (should be 42)\n";
6
 
print "FCONST  = ", example::FCONST, " (should be 2.1828)\n";
7
 
print "CCONST  = ", example::CCONST, " (should be 'x')\n";
8
 
print "CCONST2 = ", example::CCONST2," (this should be on a new line)\n";
9
 
print "SCONST  = ", example::SCONST, " (should be 'Hello World')\n";
10
 
print "SCONST2 = ", example::SCONST2, " (should be '\"Hello World\"')\n";
11
 
print "EXPR    = ", example::EXPR,   " (should be 48.5484)\n";
12
 
print "iconst  = ", example::iconst, " (should be 37)\n";
13
 
print "fconst  = ", example::fconst, " (should be 3.14)\n";
14
 
 
15
 
 
16