scc

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

getsec.c (164B)


      1 #include <stdio.h>
      2 
      3 #include <scc/mach.h>
      4 
      5 #include "libmach.h"
      6 
      7 Section *
      8 getsec(Obj *obj, int *idx, Section *sec)
      9 {
     10 	return (*obj->ops->getsec)(obj, idx, sec);
     11 }