00001
00005 #include <stdlib.h>
00006 #include <stdio.h>
00007 #include <errno.h>
00008 #include <math.h>
00009 #include "gridlabd.h"
00010
00011 #include "assert.h"
00012 #include "double_assert.h"
00013 #include "complex_assert.h"
00014 #include "enum_assert.h"
00015 #include "int_assert.h"
00016
00017 EXPORT CLASS *init(CALLBACKS *fntable, MODULE *module, int argc, char *argv[])
00018 {
00019 if (set_callback(fntable)==NULL)
00020 {
00021 errno = EINVAL;
00022 return NULL;
00023 }
00024
00025 new g_assert(module);
00026 new double_assert(module);
00027 new complex_assert(module);
00028 new enum_assert(module);
00029 new int_assert(module);
00030
00031
00032 return g_assert::oclass;
00033 }
00034
00035
00036 EXPORT int do_kill(void*)
00037 {
00038
00039 return 0;
00040 }
00041
00042 EXPORT int check(){
00043
00044 return 0;
00045 }