1
0
Fork 0
mirror of https://github.com/ruby-opencv/ruby-opencv synced 2023-03-27 23:22:12 -04:00

fixed for installing on Windows (mswin32)

This commit is contained in:
ser1zw 2011-11-28 08:31:12 +09:00
parent fcc66a0180
commit d37cefb3aa
9 changed files with 5516 additions and 5495 deletions

View file

@ -290,7 +290,7 @@ rb_show_image(int argc, VALUE *argv, VALUE self)
{
CvArr* image = NULL;
if (argc > 0) {
image = CVMAT_WITH_CHECK(argv[0]);
image = CVARR_WITH_CHECK(argv[0]);
st_table *holder;
if (st_lookup(windows, (st_data_t)DATA_PTR(self), (st_data_t*)&holder))
st_insert(holder, cCvMat::rb_class(), argv[0]);