diff --git a/lib/libvlc.js b/lib/libvlc.js index 4ea029b..5ce399c 100644 --- a/lib/libvlc.js +++ b/lib/libvlc.js @@ -61,8 +61,8 @@ exports.initialize = function(paths) { libvlc_get_compiler: ['string', []], libvlc_get_changeset: ['string', []], libvlc_free: ['void', ['pointer']], - libvlc_event_attach: ['int32', ['pointer', 'int32', 'pointer', ref.types.Object]], - libvlc_event_detach: ['void', ['pointer', 'int32', 'pointer', ref.types.Object]], + libvlc_event_attach: ['int32', ['pointer', 'int32', 'pointer', 'pointer']], + libvlc_event_detach: ['void', ['pointer', 'int32', 'pointer', 'pointer']], libvlc_event_type_name: ['string', ['int32']], libvlc_module_description_list_release: ['void', [ModuleDescriptionPtr]], libvlc_audio_filter_list_get: [ModuleDescriptionPtr, ['pointer']],