Hiding private API, exposing only public API
C functions must push the result on stack themselves
Added API calls
Amended example
Amended example
Amended example