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