mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
change utility functions' name
REGISTER_CVMETHOD -> REGISTER_HASH LOOKUP_CVMETHOD -> LOOKUP_HASH
This commit is contained in:
parent
c0bff63c92
commit
79f0bef6b3
8 changed files with 115 additions and 115 deletions
|
@ -23,7 +23,7 @@ VALUE rb_klass;
|
|||
int
|
||||
rb_font_option_line_type(VALUE font_option)
|
||||
{
|
||||
VALUE line_type = LOOKUP_CVMETHOD(font_option, "line_type");
|
||||
VALUE line_type = LOOKUP_HASH(font_option, "line_type");
|
||||
if (FIXNUM_P(line_type)) {
|
||||
return FIX2INT(line_type);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue