scc

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

getsym.c (166B)


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