Ejemplo n.º 1
0
        protected override void DoGenerate(CilEmitter emitter)
        {
            printInt.Function   = emitter.GetWriteFunction(typeof(int));
            printFloat.Function = emitter.GetWriteFunction(typeof(float));
            printChar.Function  = emitter.GetWriteFunction(typeof(char));
            printBool.Function  = emitter.GetWriteFunction(typeof(bool));

            scanF.Function = emitter.GetReadLineFunction();
        }