~laney/ubuntu/quantal/swig2.0/guile-2.0

« back to all changes in this revision

Viewing changes to Examples/test-suite/go/wrapmacro_runme.go

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Landschoff
  • Date: 2010-12-19 18:25:59 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101219182559-8lh77o66bo890jwo
Tags: 2.0.1-1
* Merge new upstream release 2.0.1.
* Remove dependency on quilt and usage in debian/rules, the new source
  format will take care of that.
* Remove patch fix-cleaning.diff (applied upstream).
* Remove patch keep_docs.diff (applied upstream).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package main
 
2
 
 
3
import "./wrapmacro"
 
4
 
 
5
func main() {
 
6
        a := 2
 
7
        b := -1
 
8
        wrapmacro.Maximum(a, b)
 
9
        wrapmacro.Maximum(a/7.0, -b*256)
 
10
        wrapmacro.GUINT16_SWAP_LE_BE_CONSTANT(1)
 
11
}