lib/ffi/clang/lib/translation_unit.rb in ffi-clang-0.6.0 vs lib/ffi/clang/lib/translation_unit.rb in ffi-clang-0.7.0

- old
+ new

@@ -94,10 +94,10 @@ # Source code translation units: attach_function :parse_translation_unit, :clang_parseTranslationUnit, [:CXIndex, :string, :pointer, :int, :pointer, :uint, :uint], :CXTranslationUnit attach_function :create_translation_unit, :clang_createTranslationUnit, [:CXIndex, :string], :CXTranslationUnit attach_function :dispose_translation_unit, :clang_disposeTranslationUnit, [:CXTranslationUnit], :void - attach_function :get_translation_unit_spelling, :clang_getTranslationUnitSpelling, [:CXTranslationUnit], :string + attach_function :get_translation_unit_spelling, :clang_getTranslationUnitSpelling, [:CXTranslationUnit], CXString.by_value attach_function :default_editing_translation_unit_options, :clang_defaultEditingTranslationUnitOptions, [], :uint attach_function :default_save_options, :clang_defaultSaveOptions, [:CXTranslationUnit], :uint attach_function :save_translation_unit, :clang_saveTranslationUnit, [:CXTranslationUnit, :string, :uint], :int attach_function :default_reparse_options, :clang_defaultReparseOptions, [:CXTranslationUnit], :uint