* Error in camljava library when accessing a double field
@ 2005-10-19 19:12 EL CHAAR Rabih SGAM/AI/SAM
0 siblings, 0 replies; only message in thread
From: EL CHAAR Rabih SGAM/AI/SAM @ 2005-10-19 19:12 UTC (permalink / raw)
To: Xavier.Leroy; +Cc: caml-list
[-- Attachment #1: Type: text/plain, Size: 1805 bytes --]
Hello,
i've stumbled by chance when using the camljava library on the following problem :
accessing a double field inside an object was always returning 0. (in caml).
After some investigations, i came to the conclusion that this is due to the following error
the function definded in jni.mli lines114-115
external get_double_field: obj -> fieldID -> float
= "camljava_GetFloatField"
it should be
external get_double_field: obj -> fieldID -> float
= "camljava_GetDoubleField
This solves the problem (changes to do in jni.mlp also).
Is it possible to correct this in the cvs version ?
This work should be done also to the set field, and the setter and getter for static fields (line 135, line 157 and line 178).
Thanks in advance
Rabih
*************************************************************************
Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et etablis a l'intention exclusive de ses
destinataires.
Toute utilisation ou diffusion non autorisee est interdite.
Tout message electronique est susceptible d'alteration.
SG Asset Management et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie.
Decouvrez l'offre et les services de SG Asset Management sur le site www.sgam.fr
********
This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Neither SG Asset Management nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or
falsified.
*************************************************************************
[-- Attachment #2: Type: text/html, Size: 2845 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-10-19 19:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-19 19:12 Error in camljava library when accessing a double field EL CHAAR Rabih SGAM/AI/SAM
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox