Re: Adding assembler code to Lua programs

  • From: Mike Pall <mike-1403@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Thu, 6 Mar 2014 17:56:47 +0100

Peter Cawley wrote:
> On Wed, Mar 5, 2014 at 4:35 PM, Luke Gorrie <luke@xxxxxxxx> wrote:
> > I made one tiny change to move the version check to the bottom of the
> > file -- this made it possible to generate a .c file with dynasm
> > instead of a .h, which is slightly more convenient for me.
> 
> Alternatively, one could emit the version check at the point in the
> file where ".arch" occurs, which keeps the check before all other
> DynASM stuff, but means you're fine if you put #includes above the
> ".arch".

Thank you for the suggestion! That's what I've just committed.

--Mike

Other related posts: