You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fw-daemon/vendor/github.com/gotk3/gotk3.old/gtk/text_mark.go

30 lines
591 B

// Same copyright and license as the rest of the files in this project
package gtk
// #include <gtk/gtk.h>
// #include "gtk.go.h"
import "C"
import "unsafe"
/*
* GtkTextMark
*/
// TextMark is a representation of GTK's GtkTextMark
type TextMark C.GtkTextMark
// native returns a pointer to the underlying GtkTextMark.
func (v *TextMark) native() *C.GtkTextMark {
if v == nil {
return nil
}
return (*C.GtkTextMark)(v)
}
func marshalTextMark(p uintptr) (interface{}, error) {
c := C.g_value_get_boxed((*C.GValue)(unsafe.Pointer(p)))
return (*TextMark)(unsafe.Pointer(c)), nil
}