Exemple #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))))
}
Exemple #2
0
// Implement native interface.
func (o *osx) context(r *nrefs) int64      { return int64(C.gs_context(C.long(r.shell))) }