summaryrefslogtreecommitdiff
path: root/xgbgen/context.go
diff options
context:
space:
mode:
Diffstat (limited to 'xgbgen/context.go')
-rw-r--r--xgbgen/context.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/xgbgen/context.go b/xgbgen/context.go
index 67801c7..33641b3 100644
--- a/xgbgen/context.go
+++ b/xgbgen/context.go
@@ -51,4 +51,7 @@ func (c *Context) Morph(xmlBytes []byte) {
for _, typ := range c.protocol.Types {
typ.Define(c)
}
+ for _, req := range c.protocol.Requests {
+ req.Define(c)
+ }
}