mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 19:09:27 +02:00
* when generating procedure variables in records, no_pop should be left as it is, other code takes care of it, resolves #17006
git-svn-id: trunk@15642 -
This commit is contained in:
parent
c902b96673
commit
0e074dc9f5
@ -1145,10 +1145,7 @@ program h2pas;
|
|||||||
if is_procvar then
|
if is_procvar then
|
||||||
begin
|
begin
|
||||||
if not no_pop then
|
if not no_pop then
|
||||||
begin
|
|
||||||
write(outfile,';cdecl');
|
write(outfile,';cdecl');
|
||||||
no_pop:=true;
|
|
||||||
end;
|
|
||||||
is_procvar:=false;
|
is_procvar:=false;
|
||||||
end;
|
end;
|
||||||
writeln(outfile,';');
|
writeln(outfile,';');
|
||||||
|
@ -1141,10 +1141,7 @@ program h2pas;
|
|||||||
if is_procvar then
|
if is_procvar then
|
||||||
begin
|
begin
|
||||||
if not no_pop then
|
if not no_pop then
|
||||||
begin
|
|
||||||
write(outfile,';cdecl');
|
write(outfile,';cdecl');
|
||||||
no_pop:=true;
|
|
||||||
end;
|
|
||||||
is_procvar:=false;
|
is_procvar:=false;
|
||||||
end;
|
end;
|
||||||
writeln(outfile,';');
|
writeln(outfile,';');
|
||||||
|
@ -88,3 +88,9 @@ void gdk_gc_set_dashes (GdkGC *gc,
|
|||||||
gint dash_offset,
|
gint dash_offset,
|
||||||
gint8 dash_list[],
|
gint8 dash_list[],
|
||||||
gint n);
|
gint n);
|
||||||
|
|
||||||
|
typedef struct FnTable {
|
||||||
|
int (*Fn1)( void );
|
||||||
|
int (*Fn2)( void );
|
||||||
|
int (*Fn3)( void );
|
||||||
|
} FnTable;
|
Loading…
Reference in New Issue
Block a user