We do provide `operator delete(void*)` in `<new>` but it should be available by default. This is mostly boilerplate to test it and the unconditional include of `<new>` in the header we always in include on the device. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D100620
10 lines
164 B
C
10 lines
164 B
C
#pragma once
|
|
typedef __SIZE_TYPE__ size_t;
|
|
|
|
void *malloc(size_t);
|
|
void free(void*);
|
|
|
|
#ifndef __cplusplus
|
|
extern int abs(int __x) __attribute__((__const__));
|
|
#endif
|