[vtk-developers] New VTK wrapping tools and a function pointer typedef question...
Jean-Christophe Fillion-Robin
jchris.fillionr at kitware.com
Thu Nov 11 16:40:36 EST 2010
Hi David G.,
Not sure how useful it could be but you can see here how qt-creator is
expanding macros ...
http://qt.gitorious.org/qt-creator/qt-creator/blobs/master/src/libs/cplusplus/pp-engine.h
Thks
Jc
On Thu, Nov 11, 2010 at 4:27 PM, Wylie, Brian <bnwylie at sandia.gov> wrote:
> If you blocked on this (like I was) you can apply this one line patch...
>
> bnwylie at S914708 /c/work/Titan/TPL/VTK (master)
> $ git diff
> diff --git a/Common/vtkWin32Header.h b/Common/vtkWin32Header.h
> index c20a502..7bb046d 100644
> --- a/Common/vtkWin32Header.h
> +++ b/Common/vtkWin32Header.h
> @@ -64,7 +64,7 @@
> Do_not_include_vtkWin32Header_directly__vtkSystemIncludes_includes_it;
> //
> #ifndef VTK_CB_CC
> #ifdef _WIN32
> -#define VTK_CB_CC __stdcall
> +#define VTK_CB_CC
> #else
> #define VTK_CB_CC
> #endif
>
>
> Brian Wylie - Org 1424
> Sandia National Laboratories
> MS 1323 - Building CSRI/242
> (505)844-2238 FAX(505)284-2518
> _______ __
> /_ __(_) /_____ _____
> / / / / __/ __ `/ __ \
> / / / / /_/ /_/ / / / /
> /_/ /_/\__/\__,_/_/ /_/
> Scalable Analysis and Visualization
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
--
Phone: 1-518-836-2174
Ext: 304
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20101111/9ca5b048/attachment.html>
More information about the vtk-developers
mailing list