Browse Source

+ Small change in raise statement object is passed by reference

michael 27 năm trước cách đây
mục cha
commit
dc7304e08e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      rtl/inc/except.inc

+ 1 - 1
rtl/inc/except.inc

@@ -100,7 +100,7 @@ begin
   ExceptObjectStack^.Addr:=AnAddr;
 end;
 
-Function Raiseexcept (Obj : TObject; AnAddr : Pointer) : TObject;[Public, Alias : 'FPC_RAISEEXCEPTION'];
+Function Raiseexcept (Var Obj : TObject; AnAddr : Pointer) : TObject;[Public, Alias : 'FPC_RAISEEXCEPTION'];
 
 begin
 {$ifdef excdebug}