[bugfix] rename procedures
This commit is contained in:
parent
f7e0797f7c
commit
a2848f3eaf
8
file.c
8
file.c
|
@ -43,7 +43,7 @@ pic_file_open_input_file(pic_state *pic)
|
||||||
}
|
}
|
||||||
|
|
||||||
pic_value
|
pic_value
|
||||||
pic_file_open_input_binary_file(pic_state *pic)
|
pic_file_open_binary_input_file(pic_state *pic)
|
||||||
{
|
{
|
||||||
static const short flags = PIC_PORT_IN | PIC_PORT_BINARY;
|
static const short flags = PIC_PORT_IN | PIC_PORT_BINARY;
|
||||||
char *fname;
|
char *fname;
|
||||||
|
@ -65,7 +65,7 @@ pic_file_open_output_file(pic_state *pic)
|
||||||
}
|
}
|
||||||
|
|
||||||
pic_value
|
pic_value
|
||||||
pic_file_open_output_binary_file(pic_state *pic)
|
pic_file_open_binary_output_file(pic_state *pic)
|
||||||
{
|
{
|
||||||
static const short flags = PIC_PORT_OUT | PIC_PORT_BINARY;
|
static const short flags = PIC_PORT_OUT | PIC_PORT_BINARY;
|
||||||
char *fname;
|
char *fname;
|
||||||
|
@ -109,9 +109,9 @@ void
|
||||||
pic_init_file(pic_state *pic)
|
pic_init_file(pic_state *pic)
|
||||||
{
|
{
|
||||||
pic_defun(pic, "open-input-file", pic_file_open_input_file);
|
pic_defun(pic, "open-input-file", pic_file_open_input_file);
|
||||||
pic_defun(pic, "open-input-binary-file", pic_file_open_input_binary_file);
|
pic_defun(pic, "open-binary-input-file", pic_file_open_binary_input_file);
|
||||||
pic_defun(pic, "open-output-file", pic_file_open_output_file);
|
pic_defun(pic, "open-output-file", pic_file_open_output_file);
|
||||||
pic_defun(pic, "open-output-binary-file", pic_file_open_output_binary_file);
|
pic_defun(pic, "open-binary-output-file", pic_file_open_binary_output_file);
|
||||||
pic_defun(pic, "file-exists?", pic_file_exists_p);
|
pic_defun(pic, "file-exists?", pic_file_exists_p);
|
||||||
pic_defun(pic, "delete-file", pic_file_delete);
|
pic_defun(pic, "delete-file", pic_file_delete);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue