search for: rmonth

Displaying 2 results from an estimated 2 matches for "rmonth".

Did you mean: month
2007 Apr 13
0
[961] branches/wxruby2/wxwidgets_282/swig: Move wxDateTime typemap into shared file, map to core Time class instead
...;>@@ -0,0 +1,39 @@ </span><ins>+// Typemaps for converting between wxDateTime and Ruby''s Date and Time classes + +%{ +#include <wx/datetime.h> +%} + +%typemap(in) const wxDateTime& { + int y = NUM2INT(rb_funcall($input, rb_intern("year"), 0)); + int rMonth = NUM2INT(rb_funcall($input, rb_intern("month"), 0)); + int rDay = NUM2INT(rb_funcall($input, rb_intern("mday"), 0)); + int rHour = NUM2INT(rb_funcall($input, rb_intern("hour"), 0)); + int rMinute = NUM2INT(rb_funcall($input, rb_intern("min"), 0)); +...
2007 Jun 25
0
[1072] trunk/wxruby2/swig/shared/datetime.i: Add typemap for DateTime::WeekDay; plug mem leak with wxDateTime arg
...ot;> </span><del>-%typemap(in) const wxDateTime& { </del><ins>+%typemap(in) wxDateTime& { </ins><span class="cx"> int y = NUM2INT(rb_funcall($input, rb_intern("year"), 0)); </span><span class="cx"> int rMonth = NUM2INT(rb_funcall($input, rb_intern("month"), 0)); </span><span class="cx"> int rDay = NUM2INT(rb_funcall($input, rb_intern("mday"), 0)); </span><span class="lines">@@ -20,6 +20,8 @@ </span><span class="cx"&gt...