update API.md
fix ndfunc_t