Re: GI Help
- From: Emmanuele Bassi <ebassi gmail com>
- To: bijan binaee <bijanbina gmail com>
- Cc: gtk-devel-list gnome org
- Subject: Re: GI Help
- Date: Tue, 20 Dec 2011 11:07:07 +0000
hi;
On 20 December 2011 03:06, bijan binaee <bijanbina gmail com> wrote:
> i have a c code and i want to bind it to JavaScript that document you send
> to me is for how to write code in Gjs that i know it
thanks for taking up the task of looking at writing more documentation
for GObject-Introspection.
I assume what you want to achieve is writing/consuming a C library in
JavaScript through introspection.
first of all, start on the wiki page for GObject-Introspection:
http://live.gnome.org/GObjectIntrospection
there is a page on autotools-integration:
https://live.gnome.org/GObjectIntrospection/AutotoolsIntegration
and a page on writing bindable API:
https://live.gnome.org/GObjectIntrospection/WritingBindingableAPIs
plus the page on the annotations that let you control the output of
the GI scanner:
https://live.gnome.org/GObjectIntrospection/Annotations
there is also a (small) tutorial:
https://live.gnome.org/GObjectIntrospection/FromHereToThere
which might have gone a bit out of date — though it should give you a
direction on how to consume a C library from JavaScript.
more documentation is, obviously, always welcome, so feel free to
start writing it on your wiki user's page and ask the introspection
developers to review it.
ciao,
Emmanuele.
--
W: http://www.emmanuelebassi.name
B: http://blogs.gnome.org/ebassi/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]