Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 31 of 31 for variadicOk (0.1 sec)

  1. src/cmd/cgo/doc.go

    C compilers are aware of this calling convention and adjust
    the call accordingly, but Go cannot. In Go, you must pass
    the pointer to the first element explicitly: C.f(&C.x[0]).
    
    Calling variadic C functions is not supported. It is possible to
    circumvent this by using a C function wrapper. For example:
    
    	package main
    
    	// #include <stdio.h>
    	// #include <stdlib.h>
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
Back to top