Add new functions
This commit is contained in:
parent
f1fde08917
commit
c930274575
3 changed files with 24 additions and 65 deletions
|
@ -9,11 +9,6 @@ import "C"
|
|||
import "unsafe"
|
||||
import "reflect"
|
||||
|
||||
// cptr returns C pointer
|
||||
func (v *VrDeviceInfo) cptr() *C.VrDeviceInfo {
|
||||
return (*C.VrDeviceInfo)(unsafe.Pointer(v))
|
||||
}
|
||||
|
||||
// cptr returns C pointer
|
||||
func (s *Shader) cptr() *C.Shader {
|
||||
return (*C.Shader)(unsafe.Pointer(s))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue