mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
*** empty log message ***
This commit is contained in:
parent
d3238eb5fb
commit
98196002ed
@ -381,7 +381,6 @@ std::string make_safe_name(const std::string & name)
|
|||||||
bool isInplaceFunction(const std::string &cppName)
|
bool isInplaceFunction(const std::string &cppName)
|
||||||
{
|
{
|
||||||
std::string wname = methodNameFromCppName(cppName,"");
|
std::string wname = methodNameFromCppName(cppName,"");
|
||||||
printf(" %s\n",wname.c_str());
|
|
||||||
|
|
||||||
for(int x = 0; InPlaceSet[x] != NULL; x++)
|
for(int x = 0; InPlaceSet[x] != NULL; x++)
|
||||||
if(InPlaceSet[x] == wname)
|
if(InPlaceSet[x] == wname)
|
||||||
@ -2136,9 +2135,12 @@ void InterfaceMakerPythonNative::write_function_instance(ostream &out, Interface
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
CPPType *type = remap->_return_type->get_temporary_type();
|
CPPType *type = remap->_return_type->get_temporary_type();
|
||||||
indent(out,extra_indent_level);
|
if(!is_inplace)
|
||||||
type->output_instance(out, "return_value", &parser);
|
{
|
||||||
out << " = " << return_expr << ";\n";
|
indent(out,extra_indent_level);
|
||||||
|
type->output_instance(out, "return_value", &parser);
|
||||||
|
out << " = " << return_expr << ";\n";
|
||||||
|
}
|
||||||
if (track_interpreter) {
|
if (track_interpreter) {
|
||||||
indent(out,extra_indent_level) << "in_interpreter = 1;\n";
|
indent(out,extra_indent_level) << "in_interpreter = 1;\n";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user