Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CallGoBigStack1 (0.32 sec)

  1. src/runtime/testdata/testprogcgo/bigstack_windows.go

    package main
    
    /*
    typedef void callback(char*);
    extern void CallGoBigStack1(char*);
    extern void bigStack(callback*);
    */
    import "C"
    
    func init() {
    	register("BigStack", BigStack)
    }
    
    func BigStack() {
    	// Create a large thread stack and call back into Go to test
    	// if Go correctly determines the stack bounds.
    	C.bigStack((*C.callback)(C.CallGoBigStack1))
    }
    
    //export goBigStack1
    func goBigStack1(x *C.char) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 12 16:07:12 UTC 2021
    - 586 bytes
    - Viewed (0)
  2. src/runtime/testdata/testprogcgo/bigstack1_windows.c

    // This is not in bigstack_windows.c because it needs to be part of
    // testprogcgo but is not part of the DLL built from bigstack_windows.c.
    
    #include "_cgo_export.h"
    
    void CallGoBigStack1(char* p) {
    	goBigStack1(p);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 12 16:07:12 UTC 2021
    - 379 bytes
    - Viewed (0)
Back to top