Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sqlite3_bind_parameter_index (0.19 sec)

  1. src/internal/types/testdata/check/importC.go

    type T struct {
    	Name    string
    	Ordinal int
    }
    
    func _(args []T) {
    	var s string
    	for i, v := range args {
    		cname := C.CString(v.Name)
    		args[i].Ordinal = int(C.sqlite3_bind_parameter_index(s, cname)) // no error due to i not being "used"
    		C.free(unsafe.Pointer(cname))
    	}
    }
    
    type CType C.Type
    
    const _ CType = C.X // no error due to invalid constant type
    const _ = C.X
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top