Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for handleGoStringPointerNoescape (0.19 sec)

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

    int add(int x, int y) {
    	return x+y;
    };
    
    // escape vs noescape
    
    // TODO(#56378): enable in Go 1.23:
    // #cgo noescape handleGoStringPointerNoescape
    void handleGoStringPointerNoescape(void *s) {}
    
    void handleGoStringPointerEscape(void *s) {}
    
    // Following mimics vulkan complex definitions for benchmarking cgocheck overhead.
    
    typedef uint32_t VkFlags;
    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