浏览代码

* Fix bug #37601: add some attribte definitions

git-svn-id: trunk@46505 -
michael 5 年之前
父节点
当前提交
8bc2326b77
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      rtl/inc/objpash.inc

+ 5 - 1
rtl/inc/objpash.inc

@@ -440,7 +440,11 @@
          constructor Create;
          constructor Create;
        end;
        end;
        {$POP}
        {$POP}
-
+       WeakAttribute = class(TCustomAttribute);
+       UnsafeAttribute = class(TCustomAttribute);
+       RefAttribute = class(TCustomAttribute);
+       VolatileAttribute = class(TCustomAttribute);
+  
     Const
     Const
        ExceptProc : TExceptProc = Nil;
        ExceptProc : TExceptProc = Nil;
        RaiseProc : TExceptProc = Nil;
        RaiseProc : TExceptProc = Nil;