Displaying 7 results from an estimated 7 matches for "rb_const_get".
[1088] trunk/wxruby2/swig/Functions.i: Added a return statement where needed to fix compile on Win32
2007 Jun 27
0
[1088] trunk/wxruby2/swig/Functions.i: Added a return statement where needed to fix compile on Win32
...6-27 18:17:42 UTC (rev 1088)
</span><span class="lines">@@ -64,7 +64,7 @@
</span><span class="cx"> 
</span><span class="cx"> static VALUE get_app(VALUE self)
</span><span class="cx"> {
</span><del>-  rb_const_get(mWxruby2, rb_intern("THE_APP"));
</del><ins>+  return rb_const_get(mWxruby2, rb_intern("THE_APP"));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> static VALUE
</span&g...
2012 Feb 10
3
Installing from source missing -lruby18 in linking.
...fined reference to `rb_intern''
wx.cpp:(.text+0x165c): undefined reference to `rb_eNotImpError''
wx.cpp:(.text+0x1666): undefined reference to `rb_raise''
wx.cpp:(.text+0x167d): undefined reference to `rb_const_defined''
wx.cpp:(.text+0x1698): undefined reference to `rb_const_get''
could it be a bad expansion of values in the Config::CONFIG hash ?
And if it is, how do I verify that it is the problem?
How does the Config hash get filled with values? 
How do I check that  Config::CONFIG["LDFLAGS"] and Config::CONFIG["LIBS"] contains the right...
2007 Jul 21
0
[1136] trunk/wxruby2/swig/classes/App.i: Note when the Wx::App is exiting and avoid doing GC if in process of
...lines">@@ -105,9 +103,9 @@
</span><span class="cx">         // errors.
</span><span class="cx">         VALUE the_app = rb_const_get(mWxruby2, rb_intern("THE_APP"));
</span><span class="cx">         if ( DATA_PTR(the_app) == 0 ) 
</span><del>-          {
-&...
2007 May 21
0
[1022] trunk/wxruby2/swig/classes/App.i: Memory mgmt: use Wx::App to mark still-alive Windows, set up Wx::THE_APP const
...nbsp      // so there is no point trying to mark them, and doing so may cause 
+        // errors.
+        VALUE the_app = rb_const_get(mWxruby2, rb_intern("THE_APP"));
+        if ( DATA_PTR(the_app) == 0 ) 
+          {
+        &a...
2007 May 21
0
[1025] trunk/wxruby2/swig: Use Wx::THE_APP constant as global reference to App (as per WxWidgets);
...4,9 +64,7 @@
</span><span class="cx"> 
</span><span class="cx"> static VALUE get_app(VALUE self)
</span><span class="cx"> {
</span><del>-    VALUE ret = wxRubyApp::app_ptr;
-    
-    return ret;
</del><ins>+  rb_const_get(mWxruby2, rb_intern("THE_APP"));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> static VALUE
</span></span></pre></div>
<a id="trunkwxruby2swigrenamerrb">...
2017 Feb 02
3
[nbdkit PATCH 0/2] Ruby bindings for .zero
Similar to python and perl. But MUCH easier (especially considering
that this is the first time I've every tried to run Ruby).  I even
had fun making set_error() polymorphic.
Eric Blake (2):
  ruby: Expose nbdkit_set_error to ruby script
  ruby: Support zero callback
 plugins/ruby/example.rb             | 11 ++++++++
 plugins/ruby/nbdkit-ruby-plugin.pod | 54
2006 Dec 07
0
Fwd: win32-service problems with patch
...monError,error);
+       // no service to step, no service handle, no ruby
+       // exceptions, just terminate thread
+       return 1;
     }
     return 0;
 }
 static VALUE daemon_allocate(VALUE klass){
-   EventHookHash = rb_hash_new();
-
-   thread_group = rb_class_new_instance(0, 0,
-      rb_const_get(rb_cObject, rb_intern("ThreadGroup")));
    return Data_Wrap_Struct(klass, 0, 0, 0);
 }
+static VALUE
+daemon_mainloop_protect(VALUE self)
+{
+    // Call service_main method
+    if(rb_respond_to(self,rb_intern("service_main"))){
+       rb_funcall(self,rb_intern("servic...