BindingsVersion sets the version of the bindings library to an explicit version.
(version uint32)
| 71 | |
| 72 | // BindingsVersion sets the version of the bindings library to an explicit version. |
| 73 | func BindingsVersion(version uint32) BindingsOption { |
| 74 | return func(lib *celBindings) *celBindings { |
| 75 | lib.version = version |
| 76 | return lib |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | type celBindings struct { |
| 81 | version uint32 |
no outgoing calls