Differences

This shows you the differences between two versions of the page.

Link to this comparison view

c_bindings_example [2012/01/05 19:55]
thomaslocke [Credits]
c_bindings_example [2012/01/05 19:58] (current)
thomaslocke [The solution]
Line 74: Line 74:
 package random_number_hpp is package random_number_hpp is
  
-  procedure getNewSeed; ​ -- random_number.hpp:​8:​21 pragma Import (CPP, +  procedure getNewSeed; ​  
-  ​getNewSeed, "​_Z14getNewSeedv"​);​+  -- random_number.hpp:​8:​21 ​ 
 +  ​pragma Import (CPP, getNewSeed, "​_Z14getNewSeedv"​);​
  
   function getRandom (a : int; b : int) return double;   function getRandom (a : int; b : int) return double;

Navigation