Beispiel #1
0
        public static P5Scalar Close(Runtime runtime, P5Scalar arg)
        {
            var handle = arg.DereferenceHandle(runtime);
            bool res = handle.Close(runtime);

            return new P5Scalar(runtime, res);
        }
        public void set_data_handle(string pack, P5Scalar handle)
        {
            var p5pack = runtime.SymbolTable.GetPackage(runtime, pack, false);
            var data = p5pack.GetGlob(runtime, "DATA", true);

            data.Handle = handle.DereferenceHandle(runtime);
        }