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
2f5a05a8
Commit
2f5a05a8
authored
Oct 29, 2008
by
Ken Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug 113
R=r OCL=18081 CL=18081
parent
276ffd29
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
subr.c
src/cmd/gc/subr.c
+1
-1
iface.c
src/runtime/iface.c
+5
-0
No files found.
src/cmd/gc/subr.c
View file @
2f5a05a8
...
...
@@ -1650,7 +1650,7 @@ globalsig(Type *t)
return
S
;
if
(
strcmp
(
t
->
sym
->
name
,
types
[
et
]
->
sym
->
name
)
!=
0
)
return
S
;
snprint
(
buf
,
sizeof
(
buf
),
"%s_%S"
,
"sigt"
,
t
ypes
[
simtype
[
et
]]
->
sym
);
snprint
(
buf
,
sizeof
(
buf
),
"%s_%S"
,
"sigt"
,
t
->
sym
);
out:
s
=
pkglookup
(
buf
,
glob
);
...
...
src/runtime/iface.c
View file @
2f5a05a8
...
...
@@ -66,6 +66,11 @@ Sigt sys·sigt_float64[2] = { (byte*)"float64", ASIMP, 8, nil, END };
Sigt
sys
·
sigt_bool
[
2
]
=
{
(
byte
*
)
"bool"
,
ASIMP
,
1
,
nil
,
END
};
Sigt
sys
·
sigt_string
[
2
]
=
{
(
byte
*
)
"string"
,
ASTRING
,
8
,
nil
,
END
};
Sigt
sys
·
sigt_int
[
2
]
=
{
(
byte
*
)
"int"
,
ASIMP
,
4
,
nil
,
END
};
Sigt
sys
·
sigt_uint
[
2
]
=
{
(
byte
*
)
"uint"
,
ASIMP
,
4
,
nil
,
END
};
Sigt
sys
·
sigt_uintptr
[
2
]
=
{
(
byte
*
)
"uintptr"
,
ASIMP
,
8
,
nil
,
END
};
Sigt
sys
·
sigt_float
[
2
]
=
{
(
byte
*
)
"float"
,
ASIMP
,
4
,
nil
,
END
};
static
void
printsigi
(
Sigi
*
si
)
{
...
...
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