APM:Libraries
c++.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <reent.h>
4 #include <stdbool.h>
5 #include <errno.h>
6 #include <stdlib.h>
7 #include <sys/types.h>
8 #include <sys/stat.h>
9 #include <hal_types.h>
10 
11 
12 // placement new is missed somehow
13 
14 inline void * operator new(size_t size, caddr_t ptr)
15 {
16  memset(ptr,0,size);
17  return ptr;
18 }