# HG changeset patch # User prock@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1284398544 0 # Node ID da83338b691367cd3385286f690926b26cbd2ec7 # Parent 739d8a43d7714b73803c06a37ad05935fe305310 Fixed incorrect usage of the SWIG %apply directive. This is meant to be used to retrieve output values from arguments only. See http://www.swig.org/Doc1.3/Arguments.html diff -r 739d8a43d771 -r da83338b6913 engine/core/view/renderers/instancerenderer.i --- a/engine/core/view/renderers/instancerenderer.i Wed Sep 08 13:47:16 2010 +0000 +++ b/engine/core/view/renderers/instancerenderer.i Mon Sep 13 17:22:24 2010 +0000 @@ -25,8 +25,6 @@ %} namespace FIFE { - %apply const std::list &OUTPUT {std::list &groups}; - class Location; class RenderBackend; class ImagePool; @@ -49,5 +47,4 @@ private: InstanceRenderer(RenderBackend* renderbackend, int position, ImagePool* imagepool, AnimationPool* animpool); }; - %clear std::list &groups; }