Peforms compilation, return type and argument type checks

check_prior_compilation(cpp_logprior)

Arguments

cpp_logprior

Cpp logprior function