Ticket #58 (new defect)
iPcSpawn::AddEntityType() is not usable from Python
| Reported by: | glibersat | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | python | Version: | |
| Keywords: | Cc: |
Description
IPcSpawn::AddEntityType() uses variadic paramaters but SWIG, by default, puts a NULL value for this argument list.
This makes this method not usable from Python since you can't pass propclasses to create your entities.
The attached patch fixes this issue by allowing at most 10 propclasses to be passed to the function. This is the most straightforward way to fix it and should be sufficient to cover all usages.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
