Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Problem when passing a VALUE as parameter

Thread Tools

Problem when passing a VALUE as parameter

Magali Mirande
Posts: n/a

I'm new to Ruby and I'm currently working on embedding Ruby-VTK within
Ruby-Vtk is a patch to add on VTK (Visualization ToolKit) to use from
I want to get a pointer from an VALUE object with the method
vtkRubyGetPointerFromObject(VALUE) which is declared in the
vtkRubyUtil.h file.
My problem is that when I pass a VALUE to this method, the compiler
tells me that there's an undefined reference to
vtkRubyGetPointerFromObject(unsigned long).
I know that in the ruby.h header file VALUE is declared as an unsigned
long, but I don't know why it converts the VALUE object during the

Do you have any idea why I've got this problem ?

Thanks in advance for your answers.

Posted via

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing parameter to function not expecting parameter Mister B C Programming 8 08-26-2010 08:01 AM
Passing Parameter value to Crystal Report Viewer Mariame ASP .Net 2 01-14-2009 10:29 PM
Passing an '&' as part of the parameter's value in a query string moondaddy ASP .Net 4 09-12-2007 02:35 PM
passing linkButton value as sql parameter =?Utf-8?B?YmlsbCB0aWU=?= ASP .Net 1 04-10-2006 11:07 AM
is it possible to get hidden parameter values using window.opener.document.form.parameter.value. Abdul Mohsin Javascript 1 09-06-2005 03:38 PM