VirtualBox

Changeset 80906 in vbox for trunk


Ignore:
Timestamp:
Sep 19, 2019 12:21:24 PM (5 years ago)
Author:
vboxsync
Message:

Shared Clipboard/Transfers: Build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/GuestHost/SharedClipboard-transfers.h

    r80905 r80906  
    919919} SHCLTRANSFERCALLBACKDATA, *PSHCLTRANSFERCALLBACKDATA;
    920920
    921 #define SHCLTRANSFERCALLBACKDECL(a_Ret, a_Name, ...) \
     921#define SHCLTRANSFERCALLBACKDECL(a_Ret, a_Name) \
     922    typedef DECLCALLBACK(a_Ret) RT_CONCAT(FNSHCLCALLBACK, a_Name)(PSHCLTRANSFERCALLBACKDATA pData); \
     923    typedef RT_CONCAT(FNSHCLCALLBACK, a_Name) RT_CONCAT(*PFNSHCLCALLBACK, a_Name);
     924
     925#define SHCLTRANSFERCALLBACKDECL_VA(a_Ret, a_Name, ...) \
    922926    typedef DECLCALLBACK(a_Ret) RT_CONCAT(FNSHCLCALLBACK, a_Name)(PSHCLTRANSFERCALLBACKDATA pData, __VA_ARGS__); \
    923927    typedef RT_CONCAT(FNSHCLCALLBACK, a_Name) RT_CONCAT(*PFNSHCLCALLBACK, a_Name);
     
    926930    RT_CONCAT(PFNSHCLCALLBACK, a_Name) a_Member;
    927931
    928 SHCLTRANSFERCALLBACKDECL(int,  TRANSFERINITIALIZE)
    929 SHCLTRANSFERCALLBACKDECL(int,  TRANSFERSTART)
    930 SHCLTRANSFERCALLBACKDECL(void, LISTHEADERCOMPLETE)
    931 SHCLTRANSFERCALLBACKDECL(void, LISTENTRYCOMPLETE)
    932 SHCLTRANSFERCALLBACKDECL(void, TRANSFERCOMPLETE, int rc)
    933 SHCLTRANSFERCALLBACKDECL(void, TRANSFERCANCELED)
    934 SHCLTRANSFERCALLBACKDECL(void, TRANSFERERROR, int rc)
     932SHCLTRANSFERCALLBACKDECL   (int,  TRANSFERINITIALIZE)
     933SHCLTRANSFERCALLBACKDECL   (int,  TRANSFERSTART)
     934SHCLTRANSFERCALLBACKDECL   (void, LISTHEADERCOMPLETE)
     935SHCLTRANSFERCALLBACKDECL   (void, LISTENTRYCOMPLETE)
     936SHCLTRANSFERCALLBACKDECL_VA(void, TRANSFERCOMPLETE, int rc)
     937SHCLTRANSFERCALLBACKDECL   (void, TRANSFERCANCELED)
     938SHCLTRANSFERCALLBACKDECL_VA(void, TRANSFERERROR, int rc)
    935939
    936940/**
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette