1
0
Fork 0
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:
ser1zw 2012-07-15 03:28:04 +09:00
parent d0d8dbdb20
commit 1a81a17d82

View file

@ -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));
}