Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for EGL (0.01 sec)

  1. src/cmd/cgo/internal/test/issue27054/egl.h

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This is the relevant part of EGL/egl.h.
    
    typedef void *EGLDisplay;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 255 bytes
    - Viewed (0)
  2. src/cmd/fix/egltype_test.go

    	var eglTests = []testCase{
    		{
    			Name: "egl.localVariable",
    			In: `package main
    
    // typedef void *$EGLTYPE;
    import "C"
    
    func f() {
    	var x C.$EGLTYPE = nil
    	x = nil
    	x, x = nil, nil
    }
    `,
    			Out: `package main
    
    // typedef void *$EGLTYPE;
    import "C"
    
    func f() {
    	var x C.$EGLTYPE = 0
    	x = 0
    	x, x = 0, 0
    }
    `,
    		},
    		{
    			Name: "egl.globalVariable",
    			In: `package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 22:02:42 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue27054/test27054.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package issue27054
    
    /*
    #include "egl.h"
    */
    import "C"
    import (
    	"testing"
    )
    
    func Test27054(t *testing.T) {
    	var (
    		// Note: 0, not nil. That makes sure we use uintptr for these types.
    		_ C.EGLDisplay = 0
    		_ C.EGLConfig  = 0
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 393 bytes
    - Viewed (0)
  4. src/cmd/fix/egltype.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"go/ast"
    )
    
    func init() {
    	register(eglFixDisplay)
    	register(eglFixConfig)
    }
    
    var eglFixDisplay = fix{
    	name:     "egl",
    	date:     "2018-12-15",
    	f:        eglfixDisp,
    	desc:     `Fixes initializers of EGLDisplay`,
    	disabled: false,
    }
    
    // Old state:
    //
    //	type EGLDisplay unsafe.Pointer
    //
    // New state:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.1K bytes
    - Viewed (0)
Back to top