mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
fix for 1.8.7
This commit is contained in:
parent
d0d8dbdb20
commit
1a81a17d82
1 changed files with 2 additions and 1 deletions
|
@ -636,7 +636,8 @@ CREATE_CVTCOLOR_FUNC(rb_HLS2RGB, CV_HLS2RGB, 3, 3);
|
|||
VALUE
|
||||
rb_build_information(VALUE klass)
|
||||
{
|
||||
return rb_str_new_cstr(cv::getBuildInformation().c_str());
|
||||
const char* ptr = cv::getBuildInformation().c_str();
|
||||
return rb_str_new(ptr, strlen(ptr));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue