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:
parent
fcc66a0180
commit
d37cefb3aa
9 changed files with 5516 additions and 5495 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue