add solv_depmarker function to simplify the bindings