I'm trying to following to application in OOP C but I get errors in my new.h file.
I am getting a bunch of "unexpected" errors. Just about everything after the first 'void' is exepected. Any ideas?
#ifndef NEW_H
#define NEW_H
#ifdef __cplusplus
extern "C" {
#endif
void * new (const void * type);
void delete (void * item);
#ifdef __cplusplus
}
#endif
#endif /* NEW_H */