Skip to content

Commit

Permalink
Add extern C
Browse files Browse the repository at this point in the history
  • Loading branch information
petabyt committed Nov 14, 2024
1 parent 0a0f450 commit 3fd453f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions extras/scroll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,11 @@ void unregisterScrollClass(void)
logLastError(L"error unregistering uiScroll window class");
}

extern "C" {
void unregisterScrollClass(void);
ATOM registerScrollClass(HICON hDefaultIcon, HCURSOR hDefaultCursor);
}

static void scrollto(uiScroll *a, int which, struct scrollParams *p, int pos)
{
SCROLLINFO si;
Expand Down

0 comments on commit 3fd453f

Please sign in to comment.