Skip to content

Commit

Permalink
clang 19 func decl error
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryHRich committed Dec 3, 2024
1 parent 6ad0a05 commit 40ef584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsrc/tsdll.c
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,6 @@ typedef I (_stdcall *PROC)();
CDPROC I _stdcall objxxx(void* obj,I a,I b){return a+b;}
CDPROC D _stdcall objddd(void* obj,D a,D b){return a+b;}
//PROC vtable[]={&(PROC)objxxx,&(PROC)objddd};
CDPROC PROC vtable[]={(PROC)objxxx,(PROC)objddd};
CDPROC PROC vtable[]={(PROC)objxxx,(PROC)(void *)objddd};
CDPROC PROC* object=vtable;
CDPROC I _stdcall obj_add(){return(I)&object;}

0 comments on commit 40ef584

Please sign in to comment.