blob: 001d44f2843e71ca591edba00180092db3782bc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
// Code generated by go run gob_gen.go; DO NOT EDIT.
package android
import (
"bytes"
"github.com/google/blueprint/gobtools"
)
func init() {
TestModuleInformationGobRegId = gobtools.RegisterType(func() gobtools.CustomDec { return new(TestModuleInformation) })
}
func (r TestModuleInformation) Encode(buf *bytes.Buffer) error {
var err error
if err = gobtools.EncodeSimple(buf, r.TestOnly); err != nil {
return err
}
if err = gobtools.EncodeSimple(buf, r.TopLevelTarget); err != nil {
return err
}
return err
}
func (r *TestModuleInformation) Decode(buf *bytes.Reader) error {
var err error
err = gobtools.DecodeSimple[bool](buf, &r.TestOnly)
if err != nil {
return err
}
err = gobtools.DecodeSimple[bool](buf, &r.TopLevelTarget)
if err != nil {
return err
}
return err
}
var TestModuleInformationGobRegId int16
func (r TestModuleInformation) GetTypeId() int16 {
return TestModuleInformationGobRegId
}
|