Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003456OCamlOCaml generalpublic2005-02-03 23:402011-05-29 12:20
Reporteradministrator 
Assigned Toxclerc 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version3.11.2+dev 
Summary0003456: Obj module should provide binding for Double_field and Store_double_field macros
DescriptionFull_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.

TagsNo tags attached.
Attached Files

- Relationships

-  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
Powered by Mantis Bugtracker