mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
fix Curve documents
This commit is contained in:
parent
0eaa373afb
commit
ef0eed8874
1 changed files with 10 additions and 1 deletions
|
@ -8,7 +8,11 @@
|
||||||
|
|
||||||
************************************************************/
|
************************************************************/
|
||||||
#include "curve.h"
|
#include "curve.h"
|
||||||
|
/*
|
||||||
|
* Document-class: OpenCV::Curve
|
||||||
|
*
|
||||||
|
* Curve sequence
|
||||||
|
*/
|
||||||
__NAMESPACE_BEGIN_OPENCV
|
__NAMESPACE_BEGIN_OPENCV
|
||||||
__NAMESPACE_BEGIN_CURVE
|
__NAMESPACE_BEGIN_CURVE
|
||||||
|
|
||||||
|
@ -25,6 +29,11 @@ define_ruby_module()
|
||||||
{
|
{
|
||||||
if (module)
|
if (module)
|
||||||
return;
|
return;
|
||||||
|
/*
|
||||||
|
* opencv = rb_define_module("OpenCV");
|
||||||
|
*
|
||||||
|
* note: this comment is used by rdoc.
|
||||||
|
*/
|
||||||
VALUE opencv = rb_module_opencv();
|
VALUE opencv = rb_module_opencv();
|
||||||
module = rb_define_module_under(opencv, "Curve");
|
module = rb_define_module_under(opencv, "Curve");
|
||||||
rb_define_method(module, "closed?", RUBY_METHOD_FUNC(rb_closed_q), 0);
|
rb_define_method(module, "closed?", RUBY_METHOD_FUNC(rb_closed_q), 0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue