Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for endif (0.4 sec)

  1. src/cmd/cgo/out.go

    typedef struct { void *data; GoInt len; GoInt cap; } GoSlice;
    
    #endif
    
    /* End of boilerplate cgo prologue.  */
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    `
    
    // gccExportHeaderEpilog goes at the end of the generated header file.
    const gccExportHeaderEpilog = `
    #ifdef __cplusplus
    }
    #endif
    `
    
    // gccgoExportFileProlog is written to the _cgo_export.c file when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  2. src/cmd/go/go_test.go

    	tooSlow(t, "builds a package with cgo dependencies")
    
    	tg := testgo(t)
    	defer tg.cleanup()
    	tg.parallel()
    	tg.tempFile("src/x/a.go", `package main
    		// #ifndef VAL
    		// #define VAL 0
    		// #endif
    		// int val = VAL;
    		import "C"
    		import "fmt"
    		func main() { fmt.Println(C.val) }
    	`)
    	tg.setenv("GOPATH", tg.path("."))
    	exe := tg.path("x.exe")
    	tg.run("build", "-o", exe, "x")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    //
    #if __LP64__
    #define CF_IS_TAGGED_OBJ(PTR)	((uintptr_t)(PTR) & 0x1)
    #define CF_TAGGED_OBJ_TYPE(PTR)	((uintptr_t)(PTR) & 0xF)
    #else
    #define CF_IS_TAGGED_OBJ(PTR)	0
    #define CF_TAGGED_OBJ_TYPE(PTR)	0
    #endif
    
    enum {
        kCFTaggedObjectID_Invalid = 0,
        kCFTaggedObjectID_Atom = (0 << 1) + 1,
        kCFTaggedObjectID_Undefined3 = (1 << 1) + 1,
        kCFTaggedObjectID_Undefined2 = (2 << 1) + 1,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top