diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2011-07-16 21:27:36 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2011-07-16 21:27:36 +0000 |
| commit | 9ffc9f7a181ca7c3f6748fd9cb5174d47748ed0d (patch) | |
| tree | 94078844c793894169dcdf088db6f57610863ca8 /lldb | |
| parent | 8e122b9fca446ae0581ea9ef819036304bef290c (diff) | |
| download | bcm5719-llvm-9ffc9f7a181ca7c3f6748fd9cb5174d47748ed0d.tar.gz bcm5719-llvm-9ffc9f7a181ca7c3f6748fd9cb5174d47748ed0d.zip | |
Have SWIG generate autodoc strings with parameter types for all SB API objects by default.
llvm-svn: 135357
Diffstat (limited to 'lldb')
| -rw-r--r-- | lldb/scripts/Python/interface/SBTarget.i | 1 | ||||
| -rw-r--r-- | lldb/scripts/lldb.swig | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lldb/scripts/Python/interface/SBTarget.i b/lldb/scripts/Python/interface/SBTarget.i index a7ddd64b4c0..eaf8ddfc85f 100644 --- a/lldb/scripts/Python/interface/SBTarget.i +++ b/lldb/scripts/Python/interface/SBTarget.i @@ -39,7 +39,6 @@ SBBreakpoint: id = 2, file ='main.cpp', line = 85, locations = 1 ) SBTarget; class SBTarget { - %feature("autodoc", "1"); public: //------------------------------------------------------------------ // Broadcaster bits. diff --git a/lldb/scripts/lldb.swig b/lldb/scripts/lldb.swig index ea8a2510919..4da001476b2 100644 --- a/lldb/scripts/lldb.swig +++ b/lldb/scripts/lldb.swig @@ -31,9 +31,11 @@ o SBLineEntry: Specifies an association with a contiguous range of instructions and a source file location. SBCompileUnit contains SBLineEntry(s)." %enddef -/* The name of the module to be created. */ +// The name of the module to be created. %module(docstring=DOCSTRING) lldb +// Parameter types will be used in the autodoc string. +%feature("autodoc", "1"); /* Typemap definitions, to allow SWIG to properly handle 'char**' data types. */ |

