@kmamal/sdl 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/native/binding.cpp +2 -1
package/package.json
CHANGED
package/src/native/binding.cpp
CHANGED
|
@@ -1227,6 +1227,7 @@ init (napi_env env, napi_value exports)
|
|
|
1227
1227
|
{ "audio_getQueueSize", NULL, audio_getQueueSize, NULL, NULL, NULL, napi_enumerable, NULL },
|
|
1228
1228
|
{ "audio_enqueue", NULL, audio_enqueue, NULL, NULL, NULL, napi_enumerable, NULL },
|
|
1229
1229
|
{ "audio_dequeue", NULL, audio_dequeue, NULL, NULL, NULL, napi_enumerable, NULL },
|
|
1230
|
+
{ "audio_clearQueue", NULL, audio_clearQueue, NULL, NULL, NULL, napi_enumerable, NULL },
|
|
1230
1231
|
{ "events_poll", NULL, events_poll, NULL, NULL, NULL, napi_enumerable, NULL },
|
|
1231
1232
|
{ "events_wait", NULL, events_wait, NULL, NULL, NULL, napi_enumerable, NULL },
|
|
1232
1233
|
{ "keyboard_getKey", NULL, keyboard_getKey, NULL, NULL, NULL, napi_enumerable, NULL },
|
|
@@ -1250,7 +1251,7 @@ init (napi_env env, napi_value exports)
|
|
|
1250
1251
|
{ "cleanup", NULL, cleanup, NULL, NULL, NULL, napi_enumerable, NULL }
|
|
1251
1252
|
};
|
|
1252
1253
|
|
|
1253
|
-
CALL_NAPI(napi_define_properties, exports,
|
|
1254
|
+
CALL_NAPI(napi_define_properties, exports, 49, desc);
|
|
1254
1255
|
|
|
1255
1256
|
cleanup:
|
|
1256
1257
|
return exports;
|