summaryrefslogtreecommitdiff
path: root/xgbgen/go_reply.go
diff options
context:
space:
mode:
authorAndrew Gallant (Ocelot) <[email protected]>2012-05-03 01:00:01 -0400
committerAndrew Gallant (Ocelot) <[email protected]>2012-05-03 01:00:01 -0400
commit9028aaf89872d8d90c65254c17658bfaf8a4918d (patch)
treeba8cc21965e466d9fcc1e1c7d38d7f6bbf462fbb /xgbgen/go_reply.go
parent552804d994db62e1002f13a8cfbbbc2359d99eef (diff)
holy toldeo... things might actually be working
Diffstat (limited to 'xgbgen/go_reply.go')
-rw-r--r--xgbgen/go_reply.go19
1 files changed, 0 insertions, 19 deletions
diff --git a/xgbgen/go_reply.go b/xgbgen/go_reply.go
deleted file mode 100644
index e561d9c..0000000
--- a/xgbgen/go_reply.go
+++ /dev/null
@@ -1,19 +0,0 @@
-package main
-
-func (r *Request) Define(c *Context) {
- c.Putln("// Request %s", r.SrcName())
- c.Putln("// size: %s", r.Size(c))
- c.Putln("")
- if r.Reply != nil {
- c.Putln("// Request reply for %s", r.SrcName())
- c.Putln("// size: %s", r.Reply.Size())
- c.Putln("type %s struct {", r.ReplyName())
- c.Putln("Sequence uint16")
- for _, field := range r.Reply.Fields {
- field.Define(c)
- }
- c.Putln("}")
- c.Putln("")
- }
-}
-