Hello,

sorry for the late reply.

> hmm, there is a JavaScriptCore GIR file which has:
>
>     <record name="GlobalContext" c:type="JSGlobalContextRef" foreign="1"/>
>     <record name="Value" c:type="JSValueRef" foreign="1"/>
>
> That is not sufficient from what you're saying? In Debian the gir file is on
> the jsc dev package and the typelib in gir1.2-javascriptcoregtk-1.0.

Tank you for your suggestion but it doesn't solve the issue.
I added the following two lines at top of the example file:

from gi.repository import JavaScriptCore
print JavaScriptCore.Value

The result is:

<class 'gi.repository.JavaScriptCore.Value'>
Traceback (most recent call last):
  File "example.py", line 9, in get_res
    v = result_js.get_value()
TypeError: Couldn't find conversion for foreign struct 'JavaScriptCore.Value'

>From the first output line I understand that the module is imported,
but something "obscure" happens.

Regards
--
Federico


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to