andy128k / cl-gobject-introspection

BSD 2-Clause "Simplified" License
49 stars 15 forks source link

README.md: Remove subsection 4.1 pointer to object #48

Closed hying-caritas closed 10 years ago

hying-caritas commented 10 years ago

In most cases, do not need to deal with pointer to object directly, so remove it from user document.

Kalimehtar commented 10 years ago

I don't think so. There are cases, where direct pointer to underlining object is needed For example, to call functions, that are not mentioned inside GObjectIntrospection.

This feature is enabled, so should be documented.

hying-caritas commented 10 years ago

For example, to call functions, that are not mentioned inside GObjectIntrospection.

Sorry, I don't understand this. Call a function that has no introspection information (that is, no GIFunctionInfo associated with it)?

Kalimehtar commented 10 years ago

Call a function that has no introspection information

Yes. For example, gtk_dialog_add_buttons Or save pointer through FFI callback in `data' argument Or use with other gtk-based GUI. For example one can build interface with gtk-cffi and gtk-cffi-ext, then use cl-gobject-introspection for functions, that not implemented in gtk-cffi.

hying-caritas commented 10 years ago

OK. Although I don't think that is for "normal" usage, I don't want to quarrel with you on this. Please reject this pull request.