Hello, is somebody working on the richedit dll? I encountered 3 unknown RTF control words and wanted to add them but I got scared by the overzealous use of #define's in rtf.h . My first impuls was exchange that with some enum's, but i thought i better ask here before i do the work in vain. bye michael -- Michael Stefaniuc Tel.: +49-711-96437-199 System Administration Fax.: +49-711-96437-111 Red Hat GmbH Email: mstefani(a)redhat.com Hauptstaetterstr. 58 http://www.redhat.de/ D-70178 Stuttgart
On Thu, 31 Oct 2002, Michael Stefaniuc wrote:
Hello,
is somebody working on the richedit dll? I encountered 3 unknown RTF control words and wanted to add them but I got scared by the overzealous use of #define's in rtf.h . My first impuls was exchange that with some enum's, but i thought i better ask here before i do the work in vain.
Isn't enum a C++ specific feature? If so then we cannot use it in Wine. -- Francois Gouget fgouget(a)free.fr http://fgouget.free.fr/ Good judgment comes from experience, and experience comes from bad judgment -- Barry LePatner
Le mer 30/10/2002 à 20:44, Francois Gouget a écrit :
On Thu, 31 Oct 2002, Michael Stefaniuc wrote:
Hello,
is somebody working on the richedit dll? I encountered 3 unknown RTF control words and wanted to add them but I got scared by the overzealous use of #define's in rtf.h . My first impuls was exchange that with some enum's, but i thought i better ask here before i do the work in vain.
Isn't enum a C++ specific feature? If so then we cannot use it in Wine.
-- Francois Gouget fgouget(a)free.fr http://fgouget.free.fr/ Good judgment comes from experience, and experience comes from bad judgment -- Barry LePatner
No, it's part of standard C. http://www-ccs.ucsd.edu/c/types.html#Enumerations Vincent
On Wed, Oct 30, 2002 at 08:58:54PM -0500, Vincent Béron wrote:
Le mer 30/10/2002 à 20:44, Francois Gouget a écrit :
On Thu, 31 Oct 2002, Michael Stefaniuc wrote:
is somebody working on the richedit dll? I encountered 3 unknown RTF control words and wanted to add them but I got scared by the overzealous use of #define's in rtf.h . My first impuls was exchange that with some enum's, but i thought i better ask here before i do the work in vain.
Isn't enum a C++ specific feature? If so then we cannot use it in Wine.
No, it's part of standard C. http://www-ccs.ucsd.edu/c/types.html#Enumerations And we already use it quite a lot: brasov:~/work/wine$ find -name \*.h | xargs grep -w -l enum | wc -l 86
bye michael -- Michael Stefaniuc Tel.: +49-711-96437-199 System Administration Fax.: +49-711-96437-111 Red Hat GmbH Email: mstefani(a)redhat.com Hauptstaetterstr. 58 http://www.redhat.de/ D-70178 Stuttgart
participants (3)
-
Francois Gouget -
Michael Stefaniuc -
Vincent Béron