Skip to content

0.3.0

Compare
Choose a tag to compare
@benhall-7 benhall-7 released this 04 Mar 23:09
· 22 commits to master since this release
  • Before, the mutate method would simply redefine the pointer associated with a variable, but not change underlying values of the original pointer. Clearly I didn’t test this well enough because I expected it to rewrite params entirely.
  • The ‘mutate’ method has been removed and replaced with several new methods, one for each possible param type: ‘set_bool’, ‘set_i8’, etc. This functions similarly to the param constructors, but it operates on existing param objects. Just provide a value to set the param to. Since most params are alterable by value, this allows you to also change the type of a param, or to change list/struct params after altering them via separate data structures