Esempio n. 1
0
        static int _m_WriteDecimal128(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                MongoDB.Bson.IO.ByteBufferStream gen_to_be_invoked = (MongoDB.Bson.IO.ByteBufferStream)translator.FastGetCSObj(L, 1);



                {
                    MongoDB.Bson.Decimal128 _value; translator.Get(L, 2, out _value);

                    gen_to_be_invoked.WriteDecimal128(_value);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }