mirror of
https://github.com/Ylianst/MeshAgent
synced 2026-01-05 01:54:00 +00:00
Major agent update.
This commit is contained in:
@@ -125,6 +125,10 @@ duk_ret_t ILibDuktape_SimpleDataStore_Get(duk_context *ctx)
|
||||
duk_push_string(ctx, buffer);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
duk_push_buffer_object(ctx, -1, 0, bufferSize, DUK_BUFOBJ_NODEJS_BUFFER);
|
||||
}
|
||||
}
|
||||
|
||||
return 1;
|
||||
@@ -295,4 +299,4 @@ public:
|
||||
*/
|
||||
static SimpleDataStore Shared();
|
||||
};
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user