- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for MyGoPrint (0.11 sec)
-
src/runtime/cgo/handle.go
// previous example: // // package main // // /* // extern void MyGoPrint(void *context); // static inline void myprint(void *context) { // MyGoPrint(context); // } // */ // import "C" // import ( // "runtime/cgo" // "unsafe" // ) // // //export MyGoPrint // func MyGoPrint(context unsafe.Pointer) { // h := *(*cgo.Handle)(context) // val := h.Value().(string) // println(val)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 16:59:11 UTC 2023 - 3.6K bytes - Viewed (0)