Merge: doc: fixed some typos and other misc. corrections
[nit.git] / clib / traces.c
1 #define TRACEPOINT_CREATE_PROBES
2 #define TRACEPOINT_DEFINE
3
4 #include "nit.common.h"
5
6 void object_destroy_callback(void *obj, void *cd){
7 tracepoint(Nit_Compiler, Object_Destroy, (char*)((val*)(obj))->type->name, (uintptr_t)obj);
8 }