Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
c1bbc4ae
Commit
c1bbc4ae
authored
Nov 06, 2009
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- one-line funcs in misc
gofmt -w misc R=rsc
http://go/go-review/1025007
parent
368f8cbc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
misc/cgo/gmp/gmp.go
misc/cgo/gmp/gmp.go
+1
-3
No files found.
misc/cgo/gmp/gmp.go
View file @
c1bbc4ae
...
...
@@ -120,9 +120,7 @@ type Int struct {
}
// NewInt returns a new Int initialized to x.
func
NewInt
(
x
int64
)
*
Int
{
return
new
(
Int
)
.
SetInt64
(
x
);
}
func
NewInt
(
x
int64
)
*
Int
{
return
new
(
Int
)
.
SetInt64
(
x
)
}
// Int promises that the zero value is a 0, but in gmp
// the zero value is a crash. To bridge the gap, the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment