123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- #!/usr/bin/env ruby
- require "./binder"
- #index_class = Binder::Ruby_C_Class_Generator.new("Index", "CXIndex")
- #index_class.free_instructions = %q{
- # if(s->data)
- # clang_disposeIndex(s->data);
- #}
- #index_class.module_name("m_clangc")
- #index_class.superclass_name("rb_cObject")
- #index_class.generate_files
- #tu_class = Binder::Ruby_C_Class_Generator.new("TranslationUnit", "CXTranslationUnit", true)
- #tu_class.free_instructions = %q{
- # if(s->data)
- # clang_disposeTranslationUnit(s->data);
- #}
- #tu_class.generate_files
- #diagnostic_class = Binder::Ruby_C_Class_Generator.new("Diagnostic", "CXDiagnostic", true)
- #diagnostic_class.free_instructions = %q{
- # if(s->data)
- # clang_disposeDiagnostic(s->data);
- #}
- #diagnostic_class.generate_files
- #File_class = Binder::Ruby_C_Class_Generator.new("File", "CXFile", true)
- #File_class.free_instructions not needed here
- #File_class.generate_files
- #SourceRange_class = Binder::Ruby_C_Class_Generator.new("SourceRange", "CXSourceRange", true)
- #SourceRange_class.generate_files
- #SourceLocation_class = Binder::Ruby_C_Class_Generator.new("SourceLocation", "CXSourceLocation", false)
- #SourceLocation_class.generate_files
- #Cursor_class = Binder::Ruby_C_Class_Generator.new("Cursor", "CXCursor", true)
- #Cursor_class.generate_files
- #Cursor_class = Binder::Ruby_C_Class_Generator.new("Type", "CXType", false)
- #Cursor_class.generate_files
- #
- #Cursor_class = Binder::Ruby_C_Class_Generator.new("CursorSet", "CXCursorSet", true)
- #Cursor_class.generate_files
- #Cursor_class = Binder::Ruby_C_Class_Generator.new("CompletionString", "CXCompletionString", true)
- #Cursor_class.generate_files
- #Cursor_class = Binder::Ruby_C_Class_Generator.new("Module", "CXModule", true)
- #Cursor_class.generate_files
- #
- #Cursor_class = Binder::Ruby_C_Class_Generator.new("CodeCompleteResults", "CXCodeCompleteResults", true)
- #Cursor_class.generate_files
- Cursor_class = Binder::Ruby_C_Class_Generator.new("CompletionResult", "CXCompletionResult", true)
- Cursor_class.generate_files
|