summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/cgo2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/cgo2c.c')
-rw-r--r--src/pkg/runtime/cgo2c.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pkg/runtime/cgo2c.c b/src/pkg/runtime/cgo2c.c
index 3b452b78b..a4489213f 100644
--- a/src/pkg/runtime/cgo2c.c
+++ b/src/pkg/runtime/cgo2c.c
@@ -46,6 +46,7 @@ enum {
Uintptr,
String,
Slice,
+ Eface,
};
static struct {
@@ -62,6 +63,7 @@ static struct {
"uintptr", 4,
"String", 8,
"Slice", 12,
+ "Eface", 8,
/* fixed size */
"float32", 4,
@@ -711,6 +713,7 @@ main(int argc, char **argv)
type_table[Uintptr].size = 8;
type_table[String].size = 16;
type_table[Slice].size = 8+4+4;
+ type_table[Eface].size = 8+8;
structround = 8;
}
}