add ffi api into tutorial.md