mirror of
https://github.com/golang/go
synced 2024-11-26 14:46:47 -07:00
update sysimport.c for unsafe.Offset and Sizeof
R=ken DELTA=2 (2 added, 0 deleted, 0 changed) OCL=24643 CL=24643
This commit is contained in:
parent
56003374d3
commit
8f2b774ee1
@ -65,5 +65,7 @@ char *sysimport =
|
|||||||
char *unsafeimport =
|
char *unsafeimport =
|
||||||
"package unsafe\n"
|
"package unsafe\n"
|
||||||
"type unsafe.Pointer *any\n"
|
"type unsafe.Pointer *any\n"
|
||||||
|
"func unsafe.Offsetof (? any) (? int)\n"
|
||||||
|
"func unsafe.Sizeof (? any) (? int)\n"
|
||||||
"\n"
|
"\n"
|
||||||
"$$\n";
|
"$$\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user