nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename `NativeString` to `CString`
[nit.git]
/
lib
/
readline.nit
diff --git
a/lib/readline.nit
b/lib/readline.nit
index
783e4e4
..
00f920c
100644
(file)
--- a/
lib/readline.nit
+++ b/
lib/readline.nit
@@
-22,11
+22,11
@@
in "C" `{
#include <readline/history.h>
`}
#include <readline/history.h>
`}
-private fun native_readline(prompt: NativeString): NativeString `{
+private fun native_readline(prompt: CString): CString `{
return readline(prompt);
`}
return readline(prompt);
`}
-private fun native_add_history(data: NativeString) `{
+private fun native_add_history(data: CString) `{
if (data == NULL) return;
add_history(data);
`}
if (data == NULL) return;
add_history(data);
`}