mirror of
https://github.com/denoland/rusty_v8.git
synced 2025-01-11 16:42:32 -05:00
fix: don't pass refs to DELETE (#1471)
This commit is contained in:
parent
d11b720654
commit
3324d5de6f
2 changed files with 6 additions and 6 deletions
|
@ -13,14 +13,14 @@ extern "C" {
|
|||
len: usize,
|
||||
tys: *const CTypeSequenceInfo,
|
||||
) -> *mut CTypeInfo;
|
||||
fn v8__CTypeInfo__DELETE(this: &mut CTypeInfo);
|
||||
fn v8__CTypeInfo__DELETE(this: *mut CTypeInfo);
|
||||
fn v8__CFunctionInfo__New(
|
||||
return_info: *const CTypeInfo,
|
||||
args_len: usize,
|
||||
args_info: *const CTypeInfo,
|
||||
repr: Int64Representation,
|
||||
) -> *mut CFunctionInfo;
|
||||
fn v8__CFunctionInfo__DELETE(this: &mut CFunctionInfo);
|
||||
fn v8__CFunctionInfo__DELETE(this: *mut CFunctionInfo);
|
||||
}
|
||||
|
||||
#[repr(C)]
|
||||
|
|
|
@ -74,7 +74,7 @@ extern "C" {
|
|||
stack_trace: &mut V8StackTrace,
|
||||
);
|
||||
|
||||
fn v8_inspector__V8InspectorSession__DELETE(this: &mut V8InspectorSession);
|
||||
fn v8_inspector__V8InspectorSession__DELETE(this: *mut V8InspectorSession);
|
||||
fn v8_inspector__V8InspectorSession__dispatchProtocolMessage(
|
||||
session: *mut V8InspectorSession,
|
||||
message: StringView,
|
||||
|
@ -88,13 +88,13 @@ extern "C" {
|
|||
method: StringView,
|
||||
) -> bool;
|
||||
|
||||
fn v8_inspector__StringBuffer__DELETE(this: &mut StringBuffer);
|
||||
fn v8_inspector__StringBuffer__DELETE(this: *mut StringBuffer);
|
||||
fn v8_inspector__StringBuffer__string(this: &StringBuffer) -> StringView;
|
||||
fn v8_inspector__StringBuffer__create(
|
||||
source: StringView,
|
||||
) -> UniquePtr<StringBuffer>;
|
||||
|
||||
fn v8_inspector__V8Inspector__DELETE(this: &mut V8Inspector);
|
||||
fn v8_inspector__V8Inspector__DELETE(this: *mut V8Inspector);
|
||||
fn v8_inspector__V8Inspector__create(
|
||||
isolate: *mut Isolate,
|
||||
client: *mut V8InspectorClient,
|
||||
|
@ -133,7 +133,7 @@ extern "C" {
|
|||
this: *mut V8Inspector,
|
||||
stack_trace: *const StackTrace,
|
||||
) -> *mut V8StackTrace;
|
||||
fn v8_inspector__V8StackTrace__DELETE(this: &mut V8StackTrace);
|
||||
fn v8_inspector__V8StackTrace__DELETE(this: *mut V8StackTrace);
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
|
|
Loading…
Reference in a new issue