[PD] flext external problem

Frank Barknecht barknech at ph-cip.uni-koeln.de
Mon Mar 25 12:35:09 CET 2002


Hi,
Thomas Grill hat gesagt: // Thomas Grill wrote:

> There is a bug in flext v 0.1.1:
> Please change the line flbase.h:289 from
> FLEXT_CLREF(NEW_CLASS::m_name,NEW_CLASS ## EXTERN_NAME), \
> to
> FLEXT_CLREF(NAME,NEW_CLASS ## EXTERN_NAME), \
With this patch, I can now use:
FLEXT_TILDE_NEW("mydsp~", mydsp)
and all is working fine. I attached the working dspobj.cpp code again. I
think, it is impressive how much more readable the C++ version is compared
to the original dspobj~.c in pd/doc/6.externs/

And the flext version would run on Max/MSP as well, wouldn't it? 

Ciao,
-- 
                                                 __    __
 Frank Barknecht       ____ ______   ____ __ trip\ \  / /wire ______
                      / __// __  /__/ __// // __  \ \/ /  __ \\  ___\	
                     / /  / ____/  / /  / // ____// /\ \\  ___\\____ \	
                    /_/  /_____/  /_/  /_//_____// /  \ \\_____\\_____\
                                                /_/    \_\ 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dspobj.cpp
Type: text/x-c++src
Size: 794 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20020325/d539ce30/attachment.cpp>


More information about the Pd-list mailing list