Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-02-28 10:47:27 -0800 (Wed, 28 Feb 2007)
Revision: 10120
Log message:

      Fixed the non-compile of readline.c with OCaml 3.09.3 - the issue is that
      starting with 3.09.3, only values can be passed to CAMLreturn macro. Starting
      with the upcoming 3.09.4/3.10, there will be a CAMLreturnT macro that also
      takes a type of the return value; for now I've added "#ifndef CAMLreturnT"
      that would define CAMLreturnT if it is not there yet.
      
      Also replaced "0" with NULL, where appropriate.
      

Changes  Path
+27 -15 omake-branches/0.9.8.x/src/clib/readline.c