Run gofmt on hand written Go code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12781 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
932f47a845
commit
e82f320510
6 changed files with 0 additions and 7 deletions
|
|
@ -24,7 +24,6 @@ func main() {
|
|||
fmt.Println("Just call her \"", e.GetTitle(), "\"")
|
||||
fmt.Println("----------------------")
|
||||
|
||||
|
||||
// Create a new EmployeeList instance. This class does not
|
||||
// have a C++ director wrapper, but can be used freely with
|
||||
// other classes that do.
|
||||
|
|
|
|||
|
|
@ -107,7 +107,6 @@ func f3() {
|
|||
p2.Vmethod(bc)
|
||||
}
|
||||
|
||||
|
||||
func main() {
|
||||
f1()
|
||||
f2()
|
||||
|
|
|
|||
|
|
@ -143,7 +143,6 @@ func main() {
|
|||
panic("overload(const char *)")
|
||||
}
|
||||
|
||||
|
||||
// everything put in a namespace
|
||||
if Nsoverload("hi") != 1000 {
|
||||
panic("nsoverload()")
|
||||
|
|
|
|||
|
|
@ -100,7 +100,6 @@ func main() {
|
|||
panic("specialization(const char *, const char *)")
|
||||
}
|
||||
|
||||
|
||||
// simple specialization
|
||||
Xyz()
|
||||
Xyz_int()
|
||||
|
|
@ -144,7 +143,6 @@ func main() {
|
|||
panic("overload(const char *)")
|
||||
}
|
||||
|
||||
|
||||
// everything put in a namespace
|
||||
if Nsoverload("hi") != 1000 {
|
||||
panic("nsoverload()")
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@ func main() {
|
|||
xz := template_default_arg.NewX_Foo_Z_8()
|
||||
_ = xz.Meth(fz)
|
||||
|
||||
|
||||
// Templated functions
|
||||
|
||||
// plain function: int ott(Foo<int>)
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ func main() {
|
|||
panic(0)
|
||||
}
|
||||
|
||||
|
||||
// 'narrowing' also works
|
||||
ddc := virtual_poly.NDoubleNarrow(d.Nnumber())
|
||||
if d.Get() != ddc.Get() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue