VirtualBox

Changeset 73848 in vbox for trunk/include/iprt/http.h


Ignore:
Timestamp:
Aug 22, 2018 8:05:49 PM (6 years ago)
Author:
vboxsync
Message:

http.h: read and write callbacks are passed directly to curl and so
must not use DECLCALLBACK.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/http.h

    r73836 r73848  
    320320
    321321
    322 typedef DECLCALLBACK(size_t) FNRTHTTPREADCALLBACK(void *pbDst, size_t cbItem, size_t cItems, void *pvUser);
     322typedef size_t FNRTHTTPREADCALLBACK(void *pbDst, size_t cbItem, size_t cItems, void *pvUser);
    323323typedef FNRTHTTPREADCALLBACK *PFNRTHTTPREADCALLBACK;
    324324
     
    328328
    329329
    330 typedef DECLCALLBACK(size_t) FNRTHTTPWRITECALLBACK(char *pbSrc, size_t cbItem, size_t cItems, void *pvUser);
     330typedef size_t FNRTHTTPWRITECALLBACK(char *pbSrc, size_t cbItem, size_t cItems, void *pvUser);
    331331typedef FNRTHTTPWRITECALLBACK *PFNRTHTTPWRITECALLBACK;
    332332
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