X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55d99c7a77789ff4904bf96eddca3715eb5af9b9..11c084163e3702692586f70a9414dca97bb2a2d6:/src/common/dobjcmn.cpp?ds=sidebyside diff --git a/src/common/dobjcmn.cpp b/src/common/dobjcmn.cpp index 1744bc42e2..6560200b01 100644 --- a/src/common/dobjcmn.cpp +++ b/src/common/dobjcmn.cpp @@ -141,7 +141,9 @@ wxDataObjectComposite::GetPreferredFormat(Direction WXUNUSED(dir)) const } #if defined(__WXMSW__) - +#ifdef __DIGITALMARS__ +extern "C" +#endif size_t wxDataObjectComposite::GetBufferOffset( const wxDataFormat& format ) { wxDataObjectSimple *dataObj = GetObject(format); @@ -152,6 +154,9 @@ size_t wxDataObjectComposite::GetBufferOffset( const wxDataFormat& format ) return dataObj->GetBufferOffset( format ); } +#ifdef __DIGITALMARS__ +extern "C" +#endif const void* wxDataObjectComposite::GetSizeFromBuffer( const void* buffer, size_t* size, const wxDataFormat& format ) @@ -164,6 +169,9 @@ const void* wxDataObjectComposite::GetSizeFromBuffer( const void* buffer, return dataObj->GetSizeFromBuffer( buffer, size, format ); } +#ifdef __DIGITALMARS__ +extern "C" +#endif void* wxDataObjectComposite::SetSizeInBuffer( void* buffer, size_t size, const wxDataFormat& format ) {