Skip to content

Commit

Permalink
Fixup, remove fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
stroiman committed Dec 5, 2024
1 parent e389092 commit 198eb04
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion inspector.cc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ InspectorClientPtr NewInspectorClient(int callbackRef) {
}

void InspectorContextCreated(InspectorPtr inspector, ContextPtr context) {
printf("Create from C++");
LOCAL_CONTEXT(context);
int groupId = 1;
StringView name = StringView((const uint8_t*)"Test", 4);
Expand Down
3 changes: 0 additions & 3 deletions inspector.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package v8go
// #include "inspector.h"
import "C"
import (
"fmt"
"sync"
"unicode/utf16"
)
Expand Down Expand Up @@ -100,7 +99,6 @@ func (i *Inspector) Dispose() {
}

func (i *Inspector) ContextCreated(ctx *Context) {
fmt.Println("Created from Go")
C.InspectorContextCreated(i.ptr, ctx.ptr)
}

Expand Down Expand Up @@ -143,7 +141,6 @@ func goHandleConsoleAPIMessageCallback(
errorLevel C.int,
message C.StringViewData,
) {
fmt.Println("Callback from Go")
// Convert data to Go data
client := clientRegistry.get(callbackRef)
client.handler.ConsoleAPIMessage(ConsoleAPIMessage{
Expand Down

0 comments on commit 198eb04

Please sign in to comment.