Mercurial > fife-parpg
comparison engine/core/view/renderers/instancerenderer.i @ 604:da83338b6913
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
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 13 Sep 2010 17:22:24 +0000 |
parents | 378b588216d6 |
children | e3140f01749d |
comparison
equal
deleted
inserted
replaced
603:739d8a43d771 | 604:da83338b6913 |
---|---|
23 %{ | 23 %{ |
24 #include "view/renderers/instancerenderer.h" | 24 #include "view/renderers/instancerenderer.h" |
25 %} | 25 %} |
26 | 26 |
27 namespace FIFE { | 27 namespace FIFE { |
28 %apply const std::list<std::string> &OUTPUT {std::list<std::string> &groups}; | |
29 | |
30 class Location; | 28 class Location; |
31 class RenderBackend; | 29 class RenderBackend; |
32 class ImagePool; | 30 class ImagePool; |
33 class AnimationPool; | 31 class AnimationPool; |
34 | 32 |
47 void removeAllTransparentAreas(); | 45 void removeAllTransparentAreas(); |
48 static InstanceRenderer* getInstance(IRendererContainer* cnt); | 46 static InstanceRenderer* getInstance(IRendererContainer* cnt); |
49 private: | 47 private: |
50 InstanceRenderer(RenderBackend* renderbackend, int position, ImagePool* imagepool, AnimationPool* animpool); | 48 InstanceRenderer(RenderBackend* renderbackend, int position, ImagePool* imagepool, AnimationPool* animpool); |
51 }; | 49 }; |
52 %clear std::list<std::string> &groups; | |
53 } | 50 } |