// // Proxy support for Vector> // #include #include #ifndef _MSC_VER # include #endif #include "AllUrho.h" #include "glue.h" using namespace Urho3D; extern "C" { DllExport int VectorSharedPtr_Count (Vector > *vector) { return vector->Size (); } DllExport void *VectorSharedPtr_GetIdx (Vector > *vector, int idx) { if (idx < 0 || idx > vector->Size ()) return NULL; return (*vector) [idx].Get (); } }