mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
windows fix
This commit is contained in:
parent
861c762e7d
commit
76524dcafa
@ -22,7 +22,7 @@
|
||||
#include "dtoolbase.h"
|
||||
#include "functionWriter.h"
|
||||
|
||||
#include <set.h>
|
||||
#include <set>
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : FunctionWriters
|
||||
|
@ -127,7 +127,8 @@ write_wrapper(ostream &out, const string &wrapper_name) const {
|
||||
out << "/*\n"
|
||||
<< " * Python object wrapper for\n";
|
||||
|
||||
for (int def_index = 0; def_index < (int)_def.size(); ++def_index) {
|
||||
int def_index;
|
||||
for (def_index = 0; def_index < (int)_def.size(); ++def_index) {
|
||||
const FunctionDef *def = _def[def_index];
|
||||
out << " * " << def->_description << "\n";
|
||||
if (def->_is_method) {
|
||||
@ -153,7 +154,7 @@ write_wrapper(ostream &out, const string &wrapper_name) const {
|
||||
write_spam_message(0, out);
|
||||
string expected_params = "Arguments must match one of:";
|
||||
|
||||
for (int def_index = 0; def_index < (int)_def.size(); ++def_index) {
|
||||
for (def_index = 0; def_index < (int)_def.size(); ++def_index) {
|
||||
const FunctionDef *def = _def[def_index];
|
||||
out << " {\n"
|
||||
<< " /* " << def->_description << " */\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user