Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NoEscape (0.04 sec)

  1. src/cmd/cgo/doc.go

    then this is unnecessary. The #cgo noescape directive may be used to tell
    the compiler that no Go pointers escape via the named C function.
    If the noescape directive is used and the C function does not handle the
    pointer safely, the program may crash or see memory corruption.
    
    For example:
    
    	// #cgo noescape cFunctionName
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 01 22:52:54 UTC 2024
    - 44K bytes
    - Viewed (0)
Back to top