• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#[ Property
2  Automatically generated by the FlatBuffers compiler, do not modify.
3  Or modify. I'm a message, not a cop.
4
5  flatc version: 25.1.24
6
7  Declared by  :
8]#
9
10import flatbuffers
11
12type Property* = object of FlatObj
13func property*(self: Property): bool =
14  return Get[bool](self.tab, self.tab.Pos + 0)
15func `property=`*(self: var Property, n: bool): bool =
16  return self.tab.Mutate(self.tab.Pos + 0, n)
17proc PropertyCreate*(self: var Builder, property: bool): uoffset =
18  self.Prep(1, 1)
19  self.Prepend(property)
20  return self.Offset()
21