[macruby-changes] [937] MacRuby/branches/experimental/include/ruby/ruby.h
source_changes at macosforge.org
source_changes at macosforge.org
Sun Mar 15 23:15:49 PDT 2009
Revision: 937
http://trac.macosforge.org/projects/ruby/changeset/937
Author: lsansonetti at apple.com
Date: 2009-03-15 23:15:49 -0700 (Sun, 15 Mar 2009)
Log Message:
-----------
fixed prototype
Modified Paths:
--------------
MacRuby/branches/experimental/include/ruby/ruby.h
Modified: MacRuby/branches/experimental/include/ruby/ruby.h
===================================================================
--- MacRuby/branches/experimental/include/ruby/ruby.h 2009-03-16 06:15:30 UTC (rev 936)
+++ MacRuby/branches/experimental/include/ruby/ruby.h 2009-03-16 06:15:49 UTC (rev 937)
@@ -356,7 +356,7 @@
#define StringValueCStr(v) rb_string_value_cstr(&(v))
VALUE rb_bytestring_new();
-VALUE rb_bytestring_new_with_data(UInt8 *buf, long size);
+VALUE rb_bytestring_new_with_data(const UInt8 *buf, long size);
CFMutableDataRef rb_bytestring_wrapped_data(VALUE);
UInt8 *rb_bytestring_byte_pointer(VALUE);
VALUE rb_coerce_to_bytestring(VALUE);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090315/6dcd3822/attachment-0001.html>
More information about the macruby-changes
mailing list