You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However the example, and use, requires the inclusion of cgreen_value_internal.h which is not available in a packaged installation, so you need to have the source available.
One way to fix this is to move cgreen_value_internal.h to include/cgreen/internal/cgreen_value_internal.h. This way it would be available in packaged installations, but also clearly signal that using this is subject to some risk.
The text was updated successfully, but these errors were encountered:
thoni56
changed the title
Custom constraints can't be implemented without access to create_cgreen_<type>_value()
Custom constraints can't be implemented without access to make_cgreen_<type>_value()Jun 17, 2021
The feature of being able to create custom constraints (see https://cgreen-devs.github.io/#_custom_constraints) is very handy.
However the example, and use, requires the inclusion of
cgreen_value_internal.h
which is not available in a packaged installation, so you need to have the source available.One way to fix this is to move
cgreen_value_internal.h
toinclude/cgreen/internal/cgreen_value_internal.h
. This way it would be available in packaged installations, but also clearly signal that using this is subject to some risk.The text was updated successfully, but these errors were encountered: