Post-merge cleanup of extras/cpp_support

This commit is contained in:
Angus Gratton 2015-08-26 10:36:40 +10:00
parent fbb01c81ad
commit 6416fe7329
4 changed files with 2 additions and 30 deletions

View file

@ -1,25 +0,0 @@
/* Part of esp-open-rtos
* BSD Licensed as described in the file LICENSE
*/
#include <stdio.h>
#include <stdlib.h>
void *operator new(size_t size)
{
return malloc(size);
}
void *operator new[](size_t size)
{
return malloc(size);
}
void operator delete(void * ptr)
{
free(ptr);
}
void operator delete[](void * ptr)
{
free(ptr);
}

View file

@ -26,7 +26,7 @@
*
*/
#include "cplusplus.hpp"
#include "cpp_operators.hpp"
#include "task.hpp"
#include "queue.hpp"
@ -104,4 +104,4 @@ extern "C" void user_init(void)
task_1.task_create("tsk1");
task_2.task_create("tsk2");
}
}

View file

@ -1,3 +0,0 @@
# Component makefile for extras/cplusplus
INC_DIRS += $(ROOT)extras