view gen/toobj.h @ 1292:ad41053c336e

Make static int[] a = [1, 2]; a[0] = 4; not segfault by making the array data ptr a non-const global variable.
author Christian Kamm <kamm incasoftware de>
date Sun, 03 May 2009 11:16:54 +0200
parents 12ea38902e83
children
line wrap: on
line source

#ifndef LDC_GEN_TOOBJ_H
#define LDC_GEN_TOOBJ_H

void writeModule(llvm::Module* m, std::string filename);

#endif