ext/CdIo_TrackIso9660.c in rb_cdio-0.1.1 vs ext/CdIo_TrackIso9660.c in rb_cdio-0.2.0
- old
+ new
@@ -7,11 +7,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "CdIo.h"
-static bool
+static bool
read_iso9660_pvd(const CdIo * p_cdio, track_format_t track_format, /* out
*/
iso9660_pvd_t * p_pvd)
{
@@ -34,17 +34,9 @@
return false;
}
return true;
}
-VALUE
-rb_cdio_trackiso9660_new(VALUE cd, int track)
-{
- VALUE argv[2];
- argv[0] = cd;
- argv[1] = INT2FIX(track);
- return rb_class_new_instance(2, argv, cCdIoTrackIso9660);
-}
VALUE
rb_cdio_trackiso9660_init(VALUE obj, VALUE cd, VALUE track)
{
VALUE argv[2];