Page 1 of 1

Using the C++ memory class

Posted: Thu Sep 06, 2018 10:57 am
by nemmud_
Hello,

at the moment I am trying to outsource a part of my CS:GO plugin from python to C++. For that purpose my understanding of the C++ memory class you implemented is a bit lacking so i hope that some devs may be able to help even though it is not directly a source-python question. I tried to translate the give_named_item example from http://wiki.sourcepython.com/developing/module_tutorials/memory.html?highlight=give_named_item to C++. I found out that this function is called

Code: Select all

CFunction* CPointer::MakeVirtualFunction(int iIndex, object oCallingConvention, object args, object return_type)
but i cannot manage to implement a working call to the virtual function.

Thanks in advance

Re: Using the C++ memory class

Posted: Fri Sep 07, 2018 9:59 am
by Ayuto
What exactly are you trying to do? Call C++ stuff from Python or vice versa?