#36 ints vs. longs in 'getX' functions

closed-wont-fix
nobody
5
2011-02-17
2011-01-14
Lucian Smith
No

libsbml uses longs for functions like model.getSpecies(long n) or model.getReaction(long n). jsbml uses ints in these functions, requiring changing code. I would guess that it would be relatively straightforward to switch to using longs.

Discussion

  • I have open a discussion on the jsbml development list (jsbml-development@caltech.edu) but it should not be a problem to change the method to use long, yes.

     
    • status: open --> closed-wont-fix
     
  • After some discussion, it seems we will not modify the current code but let the compatibility module handle that.