mirror of
https://github.com/pocketpy/pocketpy
synced 2025-11-06 11:40:16 +00:00
remove iostream.
This commit is contained in:
parent
2f83c16f59
commit
b13679206a
@ -40,7 +40,6 @@ public:
|
|||||||
|
|
||||||
auto info = &type_info::of<T>();
|
auto info = &type_info::of<T>();
|
||||||
int slot = ((std::is_same_v<dynamic_attr, Args> || ...) ? -1 : 0);
|
int slot = ((std::is_same_v<dynamic_attr, Args> || ...) ? -1 : 0);
|
||||||
std::cout << "<< " << slot << "\n";
|
|
||||||
void* data = py_newobject(retv, steal<type>(cls).index(), slot, sizeof(instance));
|
void* data = py_newobject(retv, steal<type>(cls).index(), slot, sizeof(instance));
|
||||||
new (data) instance{instance::Flag::Own, operator new (info->size), info};
|
new (data) instance{instance::Flag::Own, operator new (info->size), info};
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
@ -10,8 +10,6 @@
|
|||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
|
||||||
#include <iostream>
|
|
||||||
|
|
||||||
#include "pocketpy.h"
|
#include "pocketpy.h"
|
||||||
#include "type_traits.h"
|
#include "type_traits.h"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user