mirror of
https://github.com/denoland/rusty_v8.git
synced 2025-03-09 21:47:00 -04:00
wip
This commit is contained in:
parent
6a24523334
commit
c3f0fbbeb4
2 changed files with 14 additions and 18 deletions
|
@ -16,29 +16,27 @@ void v8_inspector__V8Inspector__Channel__BASE__flushProtocolNotifications(
|
||||||
V8Inspector::Channel& self);
|
V8Inspector::Channel& self);
|
||||||
} // extern "C"
|
} // extern "C"
|
||||||
|
|
||||||
namespace v8_inspector {
|
struct v8_inspector__V8Inspector__Channel__BASE : public V8Inspector::Channel {
|
||||||
struct V8Inspector__Channel__BASE : public V8Inspector::Channel {
|
|
||||||
using V8Inspector::Channel::Channel;
|
using V8Inspector::Channel::Channel;
|
||||||
|
|
||||||
void sendResponse(int callId,
|
inline void sendResponse(int callId,
|
||||||
std::unique_ptr<StringBuffer> message) override {
|
std::unique_ptr<StringBuffer> message) override {
|
||||||
v8_inspector__V8Inspector__Channel__BASE__sendResponse(*this, callId,
|
v8_inspector__V8Inspector__Channel__BASE__sendResponse(*this, callId,
|
||||||
message.release());
|
message.release());
|
||||||
}
|
}
|
||||||
void sendNotification(std::unique_ptr<StringBuffer> message) override {
|
inline void sendNotification(std::unique_ptr<StringBuffer> message) override {
|
||||||
v8_inspector__V8Inspector__Channel__BASE__sendNotification(
|
v8_inspector__V8Inspector__Channel__BASE__sendNotification(
|
||||||
*this, message.release());
|
*this, message.release());
|
||||||
}
|
}
|
||||||
void flushProtocolNotifications() override {
|
inline void flushProtocolNotifications() override {
|
||||||
v8_inspector__V8Inspector__Channel__BASE__flushProtocolNotifications(*this);
|
v8_inspector__V8Inspector__Channel__BASE__flushProtocolNotifications(*this);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
} // namespace v8_inspector
|
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
void v8_inspector__V8Inspector__Channel__BASE__CTOR(
|
void v8_inspector__V8Inspector__Channel__BASE__CTOR(
|
||||||
uninit_t<V8Inspector__Channel__BASE>& buf) {
|
uninit_t<v8_inspector__V8Inspector__Channel__BASE>& buf) {
|
||||||
construct_in_place<V8Inspector__Channel__BASE>(buf);
|
construct_in_place<v8_inspector__V8Inspector__Channel__BASE>(buf);
|
||||||
}
|
}
|
||||||
void v8_inspector__V8Inspector__Channel__DTOR(V8Inspector::Channel& self) {
|
void v8_inspector__V8Inspector__Channel__DTOR(V8Inspector::Channel& self) {
|
||||||
self.~Channel();
|
self.~Channel();
|
||||||
|
|
|
@ -13,30 +13,28 @@ void v8_inspector__V8InspectorClient__BASE__quitMessageLoopOnPause(
|
||||||
void v8_inspector__V8InspectorClient__BASE__runIfWaitingForDebugger(
|
void v8_inspector__V8InspectorClient__BASE__runIfWaitingForDebugger(
|
||||||
V8InspectorClient& self,
|
V8InspectorClient& self,
|
||||||
int contextGroupId);
|
int contextGroupId);
|
||||||
|
|
||||||
} // extern "C"
|
} // extern "C"
|
||||||
|
|
||||||
namespace v8_inspector {
|
struct v8_inspector__V8InspectorClient__BASE : public V8InspectorClient {
|
||||||
struct Client__BASE : public V8InspectorClient {
|
|
||||||
using V8InspectorClient::V8InspectorClient;
|
using V8InspectorClient::V8InspectorClient;
|
||||||
|
|
||||||
void runMessageLoopOnPause(int contextGroupId) override {
|
inline void runMessageLoopOnPause(int contextGroupId) override {
|
||||||
v8_inspector__V8InspectorClient__BASE__runMessageLoopOnPause(
|
v8_inspector__V8InspectorClient__BASE__runMessageLoopOnPause(
|
||||||
*this, contextGroupId);
|
*this, contextGroupId);
|
||||||
}
|
}
|
||||||
void quitMessageLoopOnPause() override {
|
inline void quitMessageLoopOnPause() override {
|
||||||
v8_inspector__V8InspectorClient__BASE__quitMessageLoopOnPause(*this);
|
v8_inspector__V8InspectorClient__BASE__quitMessageLoopOnPause(*this);
|
||||||
}
|
}
|
||||||
void runIfWaitingForDebugger(int contextGroupId) override {
|
inline void runIfWaitingForDebugger(int contextGroupId) override {
|
||||||
v8_inspector__V8InspectorClient__BASE__runIfWaitingForDebugger(
|
v8_inspector__V8InspectorClient__BASE__runIfWaitingForDebugger(
|
||||||
*this, contextGroupId);
|
*this, contextGroupId);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
} // namespace v8_inspector
|
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
void v8_inspector__V8InspectorClient__BASE__CTOR(uninit_t<Client__BASE>& buf) {
|
void v8_inspector__V8InspectorClient__BASE__CTOR(
|
||||||
construct_in_place<Client__BASE>(buf);
|
uninit_t<v8_inspector__V8InspectorClient__BASE>& buf) {
|
||||||
|
construct_in_place<v8_inspector__V8InspectorClient__BASE>(buf);
|
||||||
}
|
}
|
||||||
void v8_inspector__V8InspectorClient__DTOR(V8InspectorClient& self) {
|
void v8_inspector__V8InspectorClient__DTOR(V8InspectorClient& self) {
|
||||||
self.~V8InspectorClient();
|
self.~V8InspectorClient();
|
||||||
|
|
Loading…
Add table
Reference in a new issue