mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-10 07:46:08 +02:00
* Revert changes to java-related files by r23604.
git-svn-id: trunk@23606 -
This commit is contained in:
parent
4758d513de
commit
22116ce9be
@ -639,12 +639,12 @@ procedure fpc_InitializeUnits; compilerproc;
|
||||
Procedure fpc_do_exit; compilerproc;
|
||||
Procedure fpc_lib_exit; compilerproc;
|
||||
Procedure fpc_HandleErrorAddrFrame (Errno : longint;addr,frame : pointer); compilerproc;
|
||||
Procedure fpc_HandleError (Errno : longint); compilerproc;
|
||||
}
|
||||
Procedure fpc_HandleError (Errno : longint); compilerproc;
|
||||
|
||||
procedure fpc_AbstractErrorIntern;compilerproc;
|
||||
*)
|
||||
procedure fpc_assert(Const Msg,FName:unicodestring;LineNo:Longint{;ErrorAddr:Pointer}); compilerproc;
|
||||
procedure fpc_assert(Const Msg,FName:unicodestring;LineNo:Longint;ErrorAddr:Pointer); compilerproc;
|
||||
|
||||
{$ifdef FPC_HAS_FEATURE_FILEIO}
|
||||
Procedure fpc_reset_typed(var f : TypedFile;Size : Longint); compilerproc;
|
||||
|
@ -1092,7 +1092,7 @@ begin
|
||||
end;
|
||||
|
||||
|
||||
Procedure HandleError (Errno : longint);[public,alias : 'FPC_HANDLEERROR'];
|
||||
Procedure fpc_handleerror (Errno : longint); compilerproc; [public,alias : 'FPC_HANDLEERROR'];
|
||||
{
|
||||
Procedure to handle internal errors, i.e. not user-invoked errors
|
||||
Internal function should ALWAYS call HandleError instead of RunError.
|
||||
@ -1358,7 +1358,7 @@ begin
|
||||
end;
|
||||
|
||||
|
||||
Procedure fpc_assert(Const Msg,FName:unicodestring;LineNo:Longint{;ErrorAddr:Pointer}); [Public,Alias : 'FPC_ASSERT']; compilerproc;
|
||||
Procedure fpc_assert(Const Msg,FName:unicodestring;LineNo:Longint;ErrorAddr:Pointer); [Public,Alias : 'FPC_ASSERT']; compilerproc;
|
||||
begin
|
||||
(*
|
||||
if pointer(AssertErrorProc)<>nil then
|
||||
|
@ -267,12 +267,10 @@ Function fpc_Char_To_UnicodeStr(const c : AnsiChar): UnicodeString; compilerproc
|
||||
Converts a AnsiChar to a UnicodeString;
|
||||
}
|
||||
var
|
||||
str: JLString;
|
||||
arr: array of jbyte;
|
||||
arr: array[0..0] of ansichar;
|
||||
begin
|
||||
setlength(arr,1);
|
||||
arr[0]:=ord(c);
|
||||
result:=JLString.create(arr,0,1);
|
||||
arr[0]:=c;
|
||||
widestringmanager.Ansi2UnicodeMoveProc(pansichar(@arr),DefaultSystemCodePage,result,1);
|
||||
end;
|
||||
|
||||
|
||||
|
@ -41,13 +41,6 @@ procedure fpc_cpuinit;
|
||||
end;
|
||||
|
||||
|
||||
{$define FPC_SYSTEM_HAS_GET_FRAME}
|
||||
function get_frame:pointer;
|
||||
begin
|
||||
result:=nil;
|
||||
end;
|
||||
|
||||
|
||||
{$define FPC_SYSTEM_HAS_GET_CALLER_ADDR}
|
||||
function get_caller_addr(framebp:pointer;addr:pointer=nil):pointer;
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user