Skip to content

Commit

Permalink
Rename the initializer function
Browse files Browse the repository at this point in the history
  • Loading branch information
Watson1978 committed Oct 2, 2024
1 parent 7846a7d commit 9805d35
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ext/cool.io/buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ static int buffer_write_to(struct buffer * buf, int fd);
* Ruby IO objects.
*/
void
Init_iobuffer_ext()
Init_coolio_buffer()
{
VALUE cCoolio_IO;

Expand Down
2 changes: 1 addition & 1 deletion ext/cool.io/cool.io.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ struct Coolio_Watcher

void Coolio_Loop_process_event(VALUE watcher, int revents);

void Init_iobuffer_ext();
void Init_coolio_buffer();
void Init_coolio_loop();
void Init_coolio_watcher();
void Init_coolio_iowatcher();
Expand Down
2 changes: 1 addition & 1 deletion ext/cool.io/cool.io_ext.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ static VALUE mCoolio = Qnil;
void Init_cool()
{
/* Initializers for other modules */
Init_iobuffer_ext();
Init_coolio_buffer();
Init_coolio_loop();
Init_coolio_watcher();
Init_coolio_iowatcher();
Expand Down

0 comments on commit 9805d35

Please sign in to comment.