scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

delobj.c (146B)


      1 #include <stdio.h>
      2 #include <stdlib.h>
      3 
      4 #include <scc/mach.h>
      5 
      6 #include "libmach.h"
      7 
      8 void
      9 delobj(Obj *obj)
     10 {
     11 	(*obj->ops->del)(obj);
     12 	free(obj);
     13 }