Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for egl (0.16 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;
    C
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 255 bytes
    - Viewed (0)
  2. 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
    	)
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 393 bytes
    - Viewed (0)
  3. src/cmd/cgo/doc.go

    	go tool fix -r cftype <pkg>
    	go tool fix -r jni <pkg>
    
    It will replace nil with 0 in the appropriate places.
    
    The EGLDisplay case was introduced in Go 1.12. Use the egl rewrite
    to auto-update code from Go 1.11 and earlier:
    
    	go tool fix -r egl <pkg>
    
    The EGLConfig case was introduced in Go 1.15. Use the eglconf rewrite
    to auto-update code from Go 1.14 and earlier:
    
    	go tool fix -r eglconf <pkg>
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
Back to top