Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
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