Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for thanks (0.15 sec)

  1. src/cmd/cgo/internal/test/callback.go

    		}
    	}()
    	nestedCall(func() { panic("callback panic") })
    	panic("nestedCall returned")
    }
    
    // Callback with zero arguments used to make the stack misaligned,
    // which broke the garbage collector and other things.
    func testZeroArgCallback(t *testing.T) {
    	defer func() {
    		s := recover()
    		if s != nil {
    			t.Fatal("panic during callback:", s)
    		}
    	}()
    	C.callGoFoo()
    }
    
    //export goFoo
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
Back to top