Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for handle4339 (0.2 sec)

  1. src/cmd/cgo/internal/test/issue4339.c

    // license that can be found in the LICENSE file.
    
    #include <stdio.h>
    #include "issue4339.h"
    
    static void
    impl(void)
    {
    	//printf("impl\n");
    }
    
    Issue4339 exported4339 = {"bar", impl};
    
    void
    handle4339(Issue4339 *x)
    {
    	//printf("handle\n");
    	x->bar();
    	//printf("done\n");
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 382 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue4339.h

    // license that can be found in the LICENSE file.
    
    typedef struct Issue4339 Issue4339;
    
    struct Issue4339 {
    	char *name;
    	void (*bar)(void);
    };
    
    extern Issue4339 exported4339;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 313 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/test.go

    func testPrintf(t *testing.T) {
    	C.say()
    }
    
    // issue 4054
    
    var issue4054a = []int{C.A, C.B, C.C, C.D, C.E, C.F, C.G, C.H, C.I, C.J}
    
    // issue 4339
    
    func test4339(t *testing.T) {
    	C.handle4339(&C.exported4339)
    }
    
    // issue 4417
    
    func testBoolAlign(t *testing.T) {
    	b := C.c_bool(true, true, 10, true, false)
    	if b != 10 {
    		t.Fatalf("found %d expected 10\n", b)
    	}
    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