#pragma once /** ** \defgroup api_js JS API ** Functions that are ultimately exposed to apps. ** @{ */ /** A JS context. */ typedef struct JSContext JSContext; /** ** Register JS API functions. ** @param context The JS context. */ void tf_api_register(JSContext* context); /** @} */