jberry      2002/09/05 09:51:54

  Modified:    c/src/xercesc/util/Platforms/MacOS MacOSPlatformUtils.hpp
  Log:
  Add export directives for Mac OS path utility routines (thanks to Urs Muff & Mike 
Garcia at Quark)
  
  Revision  Changes    Path
  1.4       +9 -7      
xml-xerces/c/src/xercesc/util/Platforms/MacOS/MacOSPlatformUtils.hpp
  
  Index: MacOSPlatformUtils.hpp
  ===================================================================
  RCS file: 
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/MacOS/MacOSPlatformUtils.hpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MacOSPlatformUtils.hpp    12 Jul 2002 16:48:50 -0000      1.3
  +++ MacOSPlatformUtils.hpp    5 Sep 2002 16:51:54 -0000       1.4
  @@ -142,18 +142,20 @@
   
   //   Convert fom FSRef/FSSpec to a Unicode character string path.
   //   Note that you'll need to delete [] that string after you're done with it!
  -XMLCh*       XMLCreateFullPathFromFSRef(const FSRef& startingRef);
  -XMLCh*       XMLCreateFullPathFromFSSpec(const FSSpec& startingSpec);
  +XMLUTIL_EXPORT XMLCh*        XMLCreateFullPathFromFSRef(const FSRef& startingRef);
  +XMLUTIL_EXPORT XMLCh*        XMLCreateFullPathFromFSSpec(const FSSpec& 
startingSpec);
   
   //   Convert from path to FSRef/FSSpec
   //   You retain ownership of the pathName.
  -bool XMLParsePathToFSRef(const XMLCh* const pathName, FSRef& ref);
  -bool XMLParsePathToFSSpec(const XMLCh* const pathName, FSSpec& spec);
  +XMLUTIL_EXPORT bool  XMLParsePathToFSRef(const XMLCh* const pathName, FSRef& ref);
  +XMLUTIL_EXPORT bool  XMLParsePathToFSSpec(const XMLCh* const pathName, FSSpec& 
spec);
   
   //   These routines copy characters between their representation in the Unicode 
Converter
   //   and the representation used by XMLCh. Until a recent change in Xerces, these 
were
   //   sometimes different on the Macintosh (with GCC), but XMLCh is now fixed at 16 
bits.
   //   Code utilitizing these routines may be phased out in time, as a conversion is 
no
   //   longer necessary.
  -XMLCh*               CopyUniCharsToXMLChs(const UniChar* src, XMLCh* dst, 
std::size_t charCount, std::size_t maxChars);
  -UniChar*     CopyXMLChsToUniChars(const XMLCh* src, UniChar* dst, std::size_t 
charCount, std::size_t maxChars);
  +XMLUTIL_EXPORT XMLCh*
  +CopyUniCharsToXMLChs(const UniChar* src, XMLCh* dst, std::size_t charCount, 
std::size_t maxChars);
  +XMLUTIL_EXPORT UniChar*
  +CopyXMLChsToUniChars(const XMLCh* src, UniChar* dst, std::size_t charCount, 
std::size_t maxChars);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to