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

« back to all changes in this revision

Viewing changes to Examples/test-suite/chicken/li_typemaps_runme.ss

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-12-05 01:16:04 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051205011604-ygx904it6413k3go
Tags: 1.3.27-1ubuntu1
Resynchronise with Debian again, for the new subversion packages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
(require 'li_typemaps)
 
2
(load "../schemerunme/li_typemaps.scm")
 
3
 
 
4
(call-with-values (lambda () (inoutr-int2 3 -2))
 
5
                  (lambda (a b)
 
6
                    (if (not (and (= a 3) (= b -2)))
 
7
                      (error "Error in inoutr-int2"))))
 
8
(call-with-values (lambda () (out-foo 4))
 
9
                  (lambda (a b)
 
10
                    (if (not (and (= (Foo-a-get a) 4) (= b 8)))
 
11
                      (error "Error in out-foo"))))
 
12
(exit 0)