#include <armagetronad_wrap.h>
Public Member Functions | |
SwigDirector_GSimpleAIFactory (VALUE self) | |
virtual gSimpleAI * | DoCreate () const |
Definition at line 95 of file armagetronad_wrap.h.
SwigDirector_GSimpleAIFactory::SwigDirector_GSimpleAIFactory | ( | VALUE | self | ) |
Definition at line 2851 of file armagetronad_wrap.cxx.
Referenced by _wrap_new_GSimpleAIFactory().
02851 : gSimpleAIFactory(), Swig::Director(self) { 02852 02853 }
gSimpleAI * SwigDirector_GSimpleAIFactory::DoCreate | ( | ) | const [virtual] |
Implements gSimpleAIFactory.
Definition at line 2857 of file armagetronad_wrap.cxx.
References NULL, SWIG_ArgError, SWIG_as_voidptr, SWIG_ConvertPtrAndOwn, SWIG_ErrorType, SWIG_IsOK, swig_owntype, SWIG_POINTER_DISOWN, and SWIGTYPE_p_gSimpleAI.
Referenced by _wrap_GSimpleAIFactory_do_create().
02857 { 02858 gSimpleAI *c_result ; 02859 VALUE result; 02860 void *swig_argp ; 02861 int swig_res ; 02862 swig_owntype own ; 02863 02864 result = rb_funcall(swig_get_self(), rb_intern("do_create"), 0, NULL); 02865 swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_gSimpleAI, 0 | SWIG_POINTER_DISOWN, &own); 02866 if (!SWIG_IsOK(swig_res)) { 02867 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""gSimpleAI *""'"); 02868 } 02869 c_result = reinterpret_cast< gSimpleAI * >(swig_argp); 02870 swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own); 02871 return (gSimpleAI *) c_result; 02872 }