blob: 47760a6d48522d34c0682da3d2e5b621534a9d2a [file] [log] [blame] [raw]
/*
htop - UnsupportedProcess.c
(C) 2015 Hisham H. Muhammad
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
#include "Process.h"
#include "UnsupportedProcess.h"
#include <stdlib.h>
/*{
#include "Settings.h"
#define Process_delete UnsupportedProcess_delete
}*/
Process* UnsupportedProcess_new(Settings* settings) {
Process* this = calloc(sizeof(Process), 1);
Object_setClass(this, Class(Process));
Process_init(this, settings);
return this;
}
void UnsupportedProcess_delete(Object* cast) {
Process* this = (Process*) cast;
Object_setClass(this, Class(Process));
Process_done((Process*)cast);
// free platform-specific fields here
free(this);
}