소스 검색

* Increase type safety: PRTLevent=type pointer;

git-svn-id: trunk@6626 -
daniel 18 년 전
부모
커밋
6aad495cbb
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      rtl/inc/threadh.inc

+ 1 - 2
rtl/inc/threadh.inc

@@ -20,7 +20,7 @@ const
 
 type
   PEventState = pointer;
-  PRTLEvent   = pointer;   // Windows=thandle, other=pointer to record.
+  PRTLEvent   = type pointer;   // Windows=thandle, other=pointer to record.
   TThreadFunc = function(parameter : pointer) : ptrint;
   trtlmethod  = procedure of object;
 
@@ -102,7 +102,6 @@ Function GetThreadManager(Var TM : TThreadManager) : Boolean;
 Function SetThreadManager(Const NewTM : TThreadManager; Var OldTM : TThreadManager) : Boolean;
 Function SetThreadManager(Const NewTM : TThreadManager) : Boolean;
 {$ifndef DISABLE_NO_THREAD_MANAGER}
-Procedure SetNoThreadManager;
 {$endif DISABLE_NO_THREAD_MANAGER}
 // Needs to be exported, so the manager can call it.
 procedure InitThreadVars(RelocProc : Pointer);