Revert "Octave: remove unused function SwigOctType::help_text()"
This reverts commit 8c7e578279.
Reverting a series of Octave commits for re-applying again without
incorrect whitespace changes.
This commit is contained in:
parent
a9c9c9c848
commit
851f122bfe
2 changed files with 13 additions and 0 deletions
|
|
@ -329,6 +329,18 @@ long SwigOctType::swig_this() const
|
||||||
return (long) types[0].second.ptr;
|
return (long) types[0].second.ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char* SwigOctType::help_text() const
|
||||||
|
{
|
||||||
|
if (!types.size()) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
if (!types[0].first->clientdata) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
SwigOctClass* c = (SwigOctClass*) types[0].first->clientdata;
|
||||||
|
return c->constructor_doc;
|
||||||
|
}
|
||||||
|
|
||||||
std::string SwigOctType::swig_type_name() const
|
std::string SwigOctType::swig_type_name() const
|
||||||
{
|
{
|
||||||
// * need some way to manually name subclasses.
|
// * need some way to manually name subclasses.
|
||||||
|
|
|
||||||
|
|
@ -317,6 +317,7 @@ public:
|
||||||
static bool dispatch_global_op(const std::string& symbol, const octave_value_list& args, octave_value& ret);
|
static bool dispatch_global_op(const std::string& symbol, const octave_value_list& args, octave_value& ret);
|
||||||
static octave_value dispatch_unary_op(const octave_base_value& x, const char* op_name);
|
static octave_value dispatch_unary_op(const octave_base_value& x, const char* op_name);
|
||||||
octave_base_value* empty_clone() const;
|
octave_base_value* empty_clone() const;
|
||||||
|
const char* help_text() const;
|
||||||
void incref();
|
void incref();
|
||||||
bool is_defined() const;
|
bool is_defined() const;
|
||||||
virtual bool is_map() const;
|
virtual bool is_map() const;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue