mirror of
https://github.com/zrax/pycdc.git
synced 2026-06-23 11:34:07 +00:00
Decompyles classes and imports
This commit is contained in:
parent
ef30d16b58
commit
835b391979
5 changed files with 177 additions and 36 deletions
|
|
@ -3,15 +3,6 @@
|
|||
#include "module.h"
|
||||
|
||||
/* PycTuple */
|
||||
PycRef<PycTuple> PycTuple::Build(const value_t& items)
|
||||
{
|
||||
PycRef<PycTuple> tupleObj = new PycTuple();
|
||||
tupleObj->m_size = items.size();
|
||||
tupleObj->m_values.resize(tupleObj->m_size);
|
||||
std::copy(items.begin(), items.end(), tupleObj->m_values.begin());
|
||||
return tupleObj;
|
||||
}
|
||||
|
||||
void PycTuple::load(PycData* stream, PycModule* mod)
|
||||
{
|
||||
m_size = stream->get32();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue