rb_load_file takes char *

  • Thread starter Kristof Bastiaensen
  • Start date
K

Kristof Bastiaensen

Hi,

Is there any reason why rb_load_file takes a
char * instead of a const char *?
If possible, it would be more comfortable if rb_load_file
takes a const char * (for example when passing a string with
String::c_str()).

Regards,
Kristof
 
Y

Yukihiro Matsumoto

Hi,

In message "rb_load_file takes char *"

|Is there any reason why rb_load_file takes a
|char * instead of a const char *?

No reason but historical one. Thank you for the suggestion.

matz.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,149
Messages
2,570,843
Members
47,390
Latest member
RobertMart

Latest Threads

Top