/itexToMML

To download this project, use:
bzr branch http://golem.ph.utexas.edu/~distler/code/itexToMML/

« back to all changes in this revision

Viewing changes to itex-src/itex2MML_ruby.c.patch

  • Committer: Jacques Distler
  • Date: 2016-08-14 21:56:27 UTC
  • Revision ID: distler@golem.ph.utexas.edu-20160814215627-s85ojfrb4unki05t
Tags: 1.5.3
itex2MML 1.5.3

Build fixes for Bison3 and Ruby.
Buffer length type: unsigned long => size_t.
Fix an issue on Windows (and possibly other) Ruby platforms.
  (Thanks to Rod McGuire and David Aaron Fendley)
Clean up itex_stringsupport.rb.
Update tests.

Show diffs side-by-side

added added

removed removed

 
1
--- itex2MML_ruby.c.orig        2016-08-14 00:12:04.000000000 -0500
 
2
+++ itex2MML_ruby.c     2016-08-14 00:12:30.000000000 -0500
 
3
@@ -1737,7 +1737,7 @@
 
4
 SWIG_Ruby_SetModule(swig_module_info *pointer)
 
5
 {
 
6
   /* register a new class */
 
7
-  VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);
 
8
+  VALUE cl = rb_define_class("Swig_runtime_data", rb_cObject);
 
9
   /* create and store the structure pointer to a global variable */
 
10
   swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
 
11
   rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);