<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1438020632572_7886">Thanks, Charles.<br></div><div><br></div><div id="yui_3_16_0_1_1438020632572_8217">What if the Vanilla external has CLASS_DEFAULT widgetbehavior?  Then Pd assigns c->c_wb to text_widgetbehavior.</div><div id="yui_3_16_0_1_1438020632572_7887">Since text_widgetbehavior is a hard-coded widgetbehavior it is guaranteed to have the number of members expected by</div><div id="yui_3_16_0_1_1438020632572_7888" dir="ltr">the code in g_editor.c.</div><div id="yui_3_16_0_1_1438020632572_8205" dir="ltr"><br></div><div id="yui_3_16_0_1_1438020632572_8206" dir="ltr">Is this right?<br></div><div id="yui_3_16_0_1_1438020632572_7889"><br></div><div id="yui_3_16_0_1_1438020632572_8210">-Jonathan<br></div><div id="yui_3_16_0_1_1438020632572_3225"><span></span></div>  <br><div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font face="Arial" size="2"> On Monday, July 27, 2015 1:28 PM, Charles Z Henry <czhenry@gmail.com> wrote:<br> </font> </div>  <br><br> <div class="y_msg_container">On Mon, Jul 27, 2015 at 12:08 PM, Jonathan Wilkes via Pd-list<div class="yqt9215512933" id="yqtfd29043"><br clear="none"><<a shape="rect" ymailto="mailto:pd-list@lists.iem.at" href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a>> wrote:<br clear="none"><br clear="none">> Background info: Pd-l2ork has an extra member at the _end_ of the<br clear="none">> t_widgetbehavior struct.  This member is used to do accelerated displacing<br clear="none">> of a selection of objects in Pd.</div><br clear="none"><br clear="none">This type of modification isn't meant to be binary compatible in both<br clear="none">directions.  Your Pd-Vanilla externals with the Vanilla<br clear="none">t_widgetbehavior struct will not work in Pd-l2ork, because the struct<br clear="none">is smaller.<br clear="none"><br clear="none">When Pd-l2ork tries to access those elements off the end of the<br clear="none">t_widgetbehavior struct, it should seg fault.<div class="yqt9215512933" id="yqtfd53198"><br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>