[x3d-public] X3DJSAIL updated support for setting with doubles; python pyjniusmapping
John Carlson
yottzumm at gmail.com
Sat May 11 18:58:15 PDT 2019
==========================================
>7. So, if the target setSomeFieldName(double) methods are available in the X3DJSAIL Java API, then the pyjnius mapping must have a twist in its knickers.
>Pretty twisty syntax, certainly:
https://pyjnius.readthedocs.io/en/stable/api.html
https://pyjnius.readthedocs.io/en/stable/api.html#java-signature-format
https://docs.python.org/3/library/array.html
>I think you perform incantations + hand waving in the script pynius/reflect.py but pretty hard to follow...
==========================================
Current differences between my (left) and pyjnius source code (my checked out version):
$ diff reflect.py ~/pyjnius/jnius/reflect.py
8c8
< from jnius import (
---
> from .jnius import (
225d224
< print(parent_class.getName())
Not really my code, but my attempts at solving the problem.
Suggest piggybacking on my issue to kivy, all possible ideas and examples:
https://github.com/kivy/pyjnius/issues/270
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20190511/51215387/attachment.html>
More information about the x3d-public
mailing list