Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GoFunc37033 (0.11 sec)

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

    func useIssue31891B(c *C.Issue31891B) {}
    
    func test31891(t *testing.T) {
    	C.callIssue31891()
    }
    
    // issue 37033, check if cgo.Handle works properly
    
    var issue37033 = 42
    
    //export GoFunc37033
    func GoFunc37033(handle C.uintptr_t) {
    	h := cgo.Handle(handle)
    	ch := h.Value().(chan int)
    	ch <- issue37033
    }
    
    // issue 38408
    // A typedef pointer can be used as the element type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/test.go

    static uint16_t issue31093F(uint16_t v) { return v; }
    
    // issue 32579
    typedef struct S32579 { unsigned char data[1]; } S32579;
    
    // issue 37033, cgo.Handle
    extern void GoFunc37033(uintptr_t handle);
    void cFunc37033(uintptr_t handle) { GoFunc37033(handle); }
    
    // issue 38649
    // Test that #define'd type aliases work.
    #define netbsd_gid unsigned int
    
    // issue 40494
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
Back to top