C header file importer using -J

2010-11-14 Thread Peter Alexander
Would it be theoretically possible to use string mixins, CTFE, and import expressions (using the -J switch) to write a function cHeaderInclude such that it may be used like: mixin( cHeaderInclude( import( "someheader.h" ) ) ); I'm imagining that the cHeaderInclude function would parse the C c

Re: C header file importer using -J

2010-11-14 Thread BCS
Hello Peter, Would it be theoretically possible to use string mixins, CTFE, and import expressions (using the -J switch) to write a function cHeaderInclude such that it may be used like: mixin( cHeaderInclude( import( "someheader.h" ) ) ); I'm imagining that the cHeaderInclude function would p