ext/jpeg/jpeg.c in jpeg-0.4.0 vs ext/jpeg/jpeg.c in jpeg-0.5.0
- old
+ new
@@ -1,8 +1,12 @@
#include "jpeg.h"
-#include "jpeg_jpeg.h"
+#include "jpeg_image.h"
#include "jpeg_error.h"
-void Init_jpeg() {
- Init_jpeg_jpeg();
+VALUE rb_mJpeg;
+
+void
+Init_jpeg(void) {
+ rb_mJpeg = rb_define_module("Jpeg");
+ Init_jpeg_image();
Init_jpeg_error();
}