mirror of
https://github.com/denoland/rusty_v8.git
synced 2025-01-11 08:34:01 -05: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);
|
||||
} // extern "C"
|
||||
|
||||
namespace v8_inspector {
|
||||
struct V8Inspector__Channel__BASE : public V8Inspector::Channel {
|
||||
struct v8_inspector__V8Inspector__Channel__BASE : public V8Inspector::Channel {
|
||||
using V8Inspector::Channel::Channel;
|
||||
|
||||
void sendResponse(int callId,
|
||||
inline void sendResponse(int callId,
|
||||
std::unique_ptr<StringBuffer> message) override {
|
||||
v8_inspector__V8Inspector__Channel__BASE__sendResponse(*this, callId,
|
||||
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(
|
||||
*this, message.release());
|
||||
}
|
||||
void flushProtocolNotifications() override {
|
||||
inline void flushProtocolNotifications() override {
|
||||
v8_inspector__V8Inspector__Channel__BASE__flushProtocolNotifications(*this);
|
||||
}
|
||||
};
|
||||
} // namespace v8_inspector
|
||||
|
||||
extern "C" {
|
||||
void v8_inspector__V8Inspector__Channel__BASE__CTOR(
|
||||
uninit_t<V8Inspector__Channel__BASE>& buf) {
|
||||
construct_in_place<V8Inspector__Channel__BASE>(buf);
|
||||
uninit_t<v8_inspector__V8Inspector__Channel__BASE>& buf) {
|
||||
construct_in_place<v8_inspector__V8Inspector__Channel__BASE>(buf);
|
||||
}
|
||||
void v8_inspector__V8Inspector__Channel__DTOR(V8Inspector::Channel& self) {
|
||||
self.~Channel();
|
||||
|
|
|
@ -13,30 +13,28 @@ void v8_inspector__V8InspectorClient__BASE__quitMessageLoopOnPause(
|
|||
void v8_inspector__V8InspectorClient__BASE__runIfWaitingForDebugger(
|
||||
V8InspectorClient& self,
|
||||
int contextGroupId);
|
||||
|
||||
} // extern "C"
|
||||
|
||||
namespace v8_inspector {
|
||||
struct Client__BASE : public V8InspectorClient {
|
||||
struct v8_inspector__V8InspectorClient__BASE : public V8InspectorClient {
|
||||
using V8InspectorClient::V8InspectorClient;
|
||||
|
||||
void runMessageLoopOnPause(int contextGroupId) override {
|
||||
inline void runMessageLoopOnPause(int contextGroupId) override {
|
||||
v8_inspector__V8InspectorClient__BASE__runMessageLoopOnPause(
|
||||
*this, contextGroupId);
|
||||
}
|
||||
void quitMessageLoopOnPause() override {
|
||||
inline void quitMessageLoopOnPause() override {
|
||||
v8_inspector__V8InspectorClient__BASE__quitMessageLoopOnPause(*this);
|
||||
}
|
||||
void runIfWaitingForDebugger(int contextGroupId) override {
|
||||
inline void runIfWaitingForDebugger(int contextGroupId) override {
|
||||
v8_inspector__V8InspectorClient__BASE__runIfWaitingForDebugger(
|
||||
*this, contextGroupId);
|
||||
}
|
||||
};
|
||||
} // namespace v8_inspector
|
||||
|
||||
extern "C" {
|
||||
void v8_inspector__V8InspectorClient__BASE__CTOR(uninit_t<Client__BASE>& buf) {
|
||||
construct_in_place<Client__BASE>(buf);
|
||||
void v8_inspector__V8InspectorClient__BASE__CTOR(
|
||||
uninit_t<v8_inspector__V8InspectorClient__BASE>& buf) {
|
||||
construct_in_place<v8_inspector__V8InspectorClient__BASE>(buf);
|
||||
}
|
||||
void v8_inspector__V8InspectorClient__DTOR(V8InspectorClient& self) {
|
||||
self.~V8InspectorClient();
|
||||
|
|
Loading…
Reference in a new issue