cmlibs / zinc

Source code repository for OpenCMISS-Zinc
Mozilla Public License 2.0
15 stars 18 forks source link

APIs not checking fieldmodule arguments #194

Closed rchristie closed 2 years ago

rchristie commented 2 years ago

Check & update APIs taking fieldmodule argument to ensure checked. cmzn_fieldmodule_begin_change, end_change etc. currently crash if a null object is passed in.

rchristie commented 2 years ago

Since most of these are field constructors, at the same time improve checking of other arguments, notably where fields must be numerical.