Exemplo n.º 1
0
// Implement native interface.
func (w *win) context(r *nrefs) int64 {
	return int64(C.gs_context((*C.longlong)(&(r.display)), (*C.longlong)(&(r.shell))))
}
Exemplo n.º 2
0
// Implement native interface.
func (o *osx) context(r *nrefs) int64      { return int64(C.gs_context(C.long(r.shell))) }