| Anonymous | Login | Signup for a new account | 2013-05-18 12:13 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||
| 0003456 | OCaml | OCaml general | public | 2005-02-03 23:40 | 2011-05-29 12:20 | |||
| Reporter | administrator | |||||||
| Assigned To | xclerc | |||||||
| Priority | normal | Severity | feature | Reproducibility | always | |||
| Status | closed | Resolution | fixed | |||||
| Platform | OS | OS Version | ||||||
| Product Version | ||||||||
| Target Version | Fixed in Version | 3.11.2+dev | ||||||
| Summary | 0003456: Obj module should provide binding for Double_field and Store_double_field macros | |||||||
| Description | Full_Name: Richard Jones Version: 3.08.1 OS: Linux Submission from: annexia.force9.co.uk (212.56.101.183) The Obj module provides no method for accessing the fields in a Double_array_tag. It should wrap the macros Double_field and Store_double_field. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Notes |
|
|
(0000244) administrator (administrator) 2005-02-08 18:36 |
> Full_Name: Richard Jones > Version: 3.08.1 > The Obj module provides no method for accessing the > fields in a Double_array_tag. It should wrap the > macros Double_field and Store_double_field. You can define them yourself: let double_field x i = Array.get (Obj.obj x : float array) i;; let store_double_field x i v = Array.set (Obj.obj x : float array) i v;; -- Damien |
|
(0000245) administrator (administrator) 2005-02-08 18:36 |
should we define these convenience functions? DD |
|
(0005104) xclerc (developer) 2009-09-16 15:53 |
The proposed functions have been added, renaming 'store_double_field' into 'set_double_field' for the sake of consistency. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2005-11-18 10:13 | administrator | New Issue | |
| 2009-09-16 15:53 | xclerc | Note Added: 0005104 | |
| 2009-09-16 15:53 | xclerc | Status | acknowledged => resolved |
| 2009-09-16 15:53 | xclerc | Fixed in Version | => 3.11.2+dev |
| 2009-09-16 15:53 | xclerc | Resolution | open => fixed |
| 2009-09-16 15:53 | xclerc | Assigned To | => xclerc |
| 2011-05-29 12:20 | xleroy | Status | resolved => closed |
| Copyright © 2000 - 2011 MantisBT Group |