Using the C++ memory class

Please post any questions about developing your plugin here. Please use the search function before posting!
nemmud_
Junior Member
Posts: 1
Joined: Thu Sep 06, 2018 10:45 am

Using the C++ memory class

Postby nemmud_ » Thu Sep 06, 2018 10:57 am

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
User avatar
Ayuto
Project Leader
Posts: 1897
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: Using the C++ memory class

Postby Ayuto » Fri Sep 07, 2018 9:59 am

What exactly are you trying to do? Call C++ stuff from Python or vice versa?

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 10 guests