MathVersion sets the library version for math extensions.
(version uint32)
| 397 | |
| 398 | // MathVersion sets the library version for math extensions. |
| 399 | func MathVersion(version uint32) MathOption { |
| 400 | return func(lib *mathLib) *mathLib { |
| 401 | lib.version = version |
| 402 | return lib |
| 403 | } |
| 404 | } |
| 405 | |
| 406 | type mathLib struct { |
| 407 | version uint32 |
no outgoing calls