search for: get_cursor

Displaying 6 results from an estimated 6 matches for "get_cursor".

Did you mean: set_cursor
2013 Dec 12
0
[LLVMdev] [libclang] Python bindings bug.
I noticed that the tokens returned from a cursor pointing to a macro change if there is a typedef following a macro. How do I go about submiting a bug against this? import clang.cindex as cindex from clang.util import get_cursor,get_cursors t = cindex.TranslationUnit options=t.PARSE_DETAILED_PROCESSING_RECORD | t.PARSE_PRECOMPILED_PREAMBLE src1 =""" #define TEST 5 """ tu = t.from_source('t.c',"",unsaved_files=[('t.c',src1)],options=options) cursor = get_cursor(tu.c...
2013 Dec 10
0
[LLVMdev] libcang python bindings and working with macros question
How do I obtain the data that a macro points to, both expanded and unexpanded. in example I have a file named "blah.c" with the following. """ #define TESTA 1 #define TESTB 2 + TESTA """ I modified util.py's get_cursor to look at the displayname also, as spelling won't match the macroname. """ for cursor in children: if cursor.spelling == spelling: return cursor if cursor.displayname == spelling: return cursor """ import scripts.clang....
2013 Dec 11
0
[LLVMdev] libcang python bindings and working with macros question
How do I obtain the data that a macro points to, both expanded and unexpanded. in example I have a file named "blah.c" with the following. """ #define TESTA 1 #define TESTB 2 + TESTA """ I modified util.py's get_cursor to look at the displayname also, as spelling won't match the macroname. """ for cursor in children: if cursor.spelling == spelling: return cursor if cursor.displayname == spelling: return cursor """ import scripts.clang....
2007 Mar 18
0
[894] branches/wxruby2/wxwidgets_282/doc/textile/window.txtl: Document changed Window methods in 2.6 -> 2.8 API
...t_background_style":#Window_getbackgroundstyle </span><span class="cx"> * "Window#get_best_fitting_size":#Window_getbestfittingsize </span><span class="lines">@@ -108,6 +105,7 @@ </span><span class="cx"> * "Window#get_cursor":#Window_getcursor </span><span class="cx"> * "Window#get_default_attributes":#Window_getdefaultattributes </span><span class="cx"> * "Window#get_drop_target":#Window_getdroptarget </span><ins>+* "Window#get_effec...
2013 Jun 20
9
Syslinux 6.00 released
...ansi: partially revert 937f816addb214ca4c8c1ce977e0357eafa8c617 version: We're now in 2013 NEWS: Add entry for EFI network support load_linux: return a non-void value to fix compiler warning com32: add prototype for get_derivative_info() firmware: correct the get_cursor() argument types ipappend: delete .ipappend_strings() bios: fix definition of 'bios_free_mem' isolinux: use parenthesis to clarify operator precedence isolinux: fix type declarations ldlinux: fix definition of 'Hidden' efi: include <string.h&gt...
2007 Apr 16
0
[969] branches/wxruby2/wxwidgets_282/doc/textile/window.txtl: Cleanup and fixing of broken links.
...rn the sizer that this window is a member of, if any, otherwise </span><del>-@NULL@. </del><ins>+@nil@. </ins><span class="cx"> </span><span class="cx"> </span><span class="cx"> h3(#Window_getcursor). Window#get_cursor </span><span class="lines">@@ -888,14 +886,14 @@ </span><span class="cx"> "VisualAttributes":visualattributes.html *get_default_attributes*() </span><span class="cx"> </span><span class="cx"> Current...