Skip to content

Commit

Permalink
fixup! Adapt headers for CGO.
Browse files Browse the repository at this point in the history
  • Loading branch information
pravic committed Apr 26, 2021
1 parent 7a617b0 commit a977cfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/sciter-x-def.h
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ SBOOL SCAPI SciterRenderOnDirectXTexture(HWINDOW hwnd, HELEMENT elementToRenderO
*
**/

SBOOL SCAPI SciterDWFactory(void** /*IDWriteFactory ***/ ppf);
SBOOL SCAPI SciterDWFactory(IUnknown** /*IDWriteFactory ***/ ppf);

#endif

Expand Down
3 changes: 1 addition & 2 deletions sciter-x-api.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,7 @@ ISciterAPI *_SAPI(ISciterAPI *ext) {


ISciterAPI* SAPI() {
static ISciterAPI* _api = _SAPI(NULL);
return _api;
return _SAPI(NULL);
}

LPSciterGraphicsAPI gapi()
Expand Down

0 comments on commit a977cfa

Please sign in to comment.