luajit using c style