Example #1
0
// DeclObjCTypeEncoding returns the Objective-C type encoding for the
// specified declaration.
func (c Cursor) DeclObjCTypeEncoding() string {
	o := C.clang_getDeclObjCTypeEncoding(c.c)
	cstr := cxstring{o}
	defer cstr.Dispose()
	return cstr.String()
}
Example #2
0
// Returns the Objective-C type encoding for the specified declaration.
func (c Cursor) DeclObjCTypeEncoding() string {
	o := cxstring{C.clang_getDeclObjCTypeEncoding(c.c)}
	defer o.Dispose()

	return o.String()
}