Skip to content

Instantly share code, notes, and snippets.

@jerstlouis
Created October 5, 2014 00:20
Show Gist options
  • Select an option

  • Save jerstlouis/ac3604fbe550ad6de61f to your computer and use it in GitHub Desktop.

Select an option

Save jerstlouis/ac3604fbe550ad6de61f to your computer and use it in GitHub Desktop.
int __ecereVMethodID___ecereNameSpace__ecere__sys__Archive_SetBufferSize;
struct __ecereNameSpace__ecere__com__Instance { void ** _vTbl; };
struct __ecereNameSpace__ecere__com__Instance * __ecereClass___ecereNameSpace__ecere__sys__Archive;
void __ecereProp___ecereNameSpace__ecere__sys__Archive_Set_bufferSize(struct __ecereNameSpace__ecere__com__Instance * this, unsigned int value)
{
((void (*)(struct __ecereNameSpace__ecere__com__Instance *, unsigned int bufferSize))__extension__ (
{
struct __ecereNameSpace__ecere__com__Instance * __internal_ClassInst = this;
__internal_ClassInst ? __internal_ClassInst->_vTbl : __ecereClass___ecereNameSpace__ecere__sys__Archive->_vTbl;
}
)[__ecereVMethodID___ecereNameSpace__ecere__sys__Archive_SetBufferSize])(this, value);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment