| 23 | const int data; |
| 24 | |
| 25 | static std::unique_ptr<holy, deleter> create() { |
| 26 | std::cout << "creating 'holy' unique_ptr directly and " |
| 27 | "letting sol/Lua handle it" |
| 28 | << std::endl; |
| 29 | return std::unique_ptr<holy, deleter>(new holy(50)); |
| 30 | } |
| 31 | |
| 32 | static void initialize(holy& uninitialized_memory) { |
| 33 | std::cout << "initializing 'holy' userdata at " |
nothing calls this directly
no outgoing calls
no test coverage detected