Jump to content

Looking for reversed function GetGraphicImagePointer from grpImage


Go to solution Solved by MrQuin,

Recommended Posts

  • Contributor
  • Solution

@ PythonGraphicImageModule.cpp:
 

PyObject * grpGetGraphicImagePointer(PyObject * poSelf, PyObject * poArgs)
{
	CGraphicImageInstance * pImageInstance;

	if (!PyTuple_GetImageInstance(poArgs, 0, &pImageInstance))
		return Py_BadArgument();

	if (pImageInstance->IsEmpty())
		return Py_BuildException("Image is empty");

	return Py_BuildValue("i", pImageInstance->GetGraphicImagePointer());
}

		{ "GetGraphicImagePointer",	grpGetGraphicImagePointer,		METH_VARARGS },

 

  • Metin2 Dev 1

My only accounts are here and on M2D, Don't trust anyone else from other shitty sites.
266868740522639360.png

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.