James Kuszmaul | 3b15b0c | 2022-11-08 14:03:16 -0800 | [diff] [blame] | 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: 22.10.26 |
| 6 | |
| 7 | Declared by : |
| 8 | ]# |
| 9 | |
| 10 | import flatbuffers |
| 11 | |
| 12 | type Property* = object of FlatObj |
| 13 | func property*(self: Property): bool = |
| 14 | return Get[bool](self.tab, self.tab.Pos + 0) |
| 15 | func `property=`*(self: var Property, n: bool): bool = |
| 16 | return self.tab.Mutate(self.tab.Pos + 0, n) |
| 17 | proc PropertyCreate*(self: var Builder, property: bool): uoffset = |
| 18 | self.Prep(1, 1) |
| 19 | self.Prepend(property) |
| 20 | return self.Offset() |