lib/ffi/clang/lib/translation_unit.rb in ffi-clang-0.3.0 vs lib/ffi/clang/lib/translation_unit.rb in ffi-clang-0.5.0

- old
+ new

@@ -18,11 +18,11 @@ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. -require 'ffi/clang/lib/index' +require_relative 'index' module FFI module Clang module Lib typedef :pointer, :CXTranslationUnit @@ -45,10 +45,10 @@ SaveError = enum [ :none, 0, :unknown, 1, :translation_errors, 2, - :invalid_tu, 3 + :invalid_translation_unit, 3 ] ReparseFlags = enum [ :none, 0x0, ]