Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for eglfixDisp (0.22 sec)

  1. src/cmd/fix/egltype.go

    	name:     "egl",
    	date:     "2018-12-15",
    	f:        eglfixDisp,
    	desc:     `Fixes initializers of EGLDisplay`,
    	disabled: false,
    }
    
    // Old state:
    //
    //	type EGLDisplay unsafe.Pointer
    //
    // New state:
    //
    //	type EGLDisplay uintptr
    //
    // This fix finds nils initializing these types and replaces the nils with 0s.
    func eglfixDisp(f *ast.File) bool {
    	return typefix(f, func(s string) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  2. src/cmd/fix/egltype_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import "strings"
    
    func init() {
    	addTestCases(eglTestsFor("EGLDisplay"), eglfixDisp)
    	addTestCases(eglTestsFor("EGLConfig"), eglfixConfig)
    }
    
    func eglTestsFor(tname string) []testCase {
    	var eglTests = []testCase{
    		{
    			Name: "egl.localVariable",
    			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)
Back to top