Skip to content
Snippets Groups Projects
Commit 26afd285 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix JSDoor build error, broken in BOOL->bool conversion

parent d5459977
No related branches found
No related tags found
No related merge requests found
Pipeline #5333 passed
......@@ -57,7 +57,7 @@ void* DLLCALL js_GetClassPrivate(JSContext *cx, JSObject *obj, JSClass* cls)
return ret;
}
void call_socket_open_callback(BOOL open)
void call_socket_open_callback(bool open)
{
}
......@@ -214,7 +214,7 @@ JSObject* js_CreateConsoleObject(JSContext* cx, JSObject* parent)
return NULL;
}
BOOL DLLCALL js_CreateCommonObjects(JSContext* js_cx
bool DLLCALL js_CreateCommonObjects(JSContext* js_cx
,scfg_t *unused1
,scfg_t *unused2
,jsSyncMethodSpec* methods /* global */
......@@ -231,7 +231,7 @@ BOOL DLLCALL js_CreateCommonObjects(JSContext* js_cx
,struct mqtt* mqtt
)
{
BOOL success=FALSE;
bool success=FALSE;
/* Global Object */
if(!js_CreateGlobalObject(js_cx, &scfg, methods, js_startup, glob))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment