ufo-kit / ufo-core

GLib-based framework for GPU-based data processing
GNU Lesser General Public License v3.0
24 stars 8 forks source link

Add UFO_RESOURCES_CHECK_SET_AND_RETURN #154

Closed matze closed 6 years ago

matze commented 6 years ago

When #116 is solved, it makes sense to not only set a GError with a particular OpenCL error but also return from the call site to avoid unnecessary subsequent error checks.