\begin{code}
#include "rtsdefs.h"
+
+#include "ghcReadline.h" /* to make sure the code here agrees...*/
\end{code}
Wrapper around the callback mechanism to allow Haskell side functions
in the global variable $rl_return$.
\begin{code}
-
-int current_narg, rl_return, current_kc;
+I_ current_narg, rl_return, current_kc;
char* rl_prompt_hack;
StgStablePtr cbackList;
-int genericRlCback (int narg,int kc)
+I_
+genericRlCback (I_ narg, I_ kc)
{
current_narg = narg;
current_kc = kc;