update docs for C compat