예제 #1
0
파일: RopBind.cs 프로젝트: joke325/Dotrop
        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
파일: RopBind.cs 프로젝트: joke325/Dotrop
 public long version_commit_timestamp()
 {
     return((long)lib.rnp_version_commit_timestamp());
 }