How to access the API in the chrome Application from the native codes ?

Is there any sample code available. I am able to create an application successfully and I want to integrate a native code written in C with the application for certain functionalities, How to achieve the same ?