runtime.h 236 B

12345678910111213141516
  1. #ifndef OBOO_RUNTIME_H
  2. #define OBOO_RUNTIME_H
  3. #include "config.h"
  4. #include "duktape/duktape.h"
  5. duk_context *ctx;
  6. void initRuntime();
  7. void destroyRuntime();
  8. void handleMessage(char* topic, char* payload);
  9. #endif // OBOO_RUNTIME_H