Пример #1
0
        private SortedDictionary <int, SortedDictionary <RopObject, int> > t2objs; //tag->set

        private void IniRopBind(bool checkLibVer)
        {
            this.cnt  = 1;
            this.lib  = new RopLib();
            this.tags = new List <int>();
            this.tags.Add(this.cnt);
            this.t2objs = new SortedDictionary <int, SortedDictionary <RopObject, int> >();
            if (checkLibVer && !(this.lib.rnp_version() >= this.lib.rnp_version_for(0, 9, 0)) && !((long)lib.rnp_version_commit_timestamp() >= ropid()))
            {
                throw new RopError(ROP_ERROR_LIBVERSION);
            }
        }
Пример #2
0
 public long version_commit_timestamp()
 {
     return((long)lib.rnp_version_commit_timestamp());
 }