<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2016-01-21 15:18 GMT+01:00 Denis Kudriashov <span dir="ltr">&lt;<a href="mailto:dionisiydk@gmail.com" target="_blank">dionisiydk@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="gmail_extra">Hi</div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-21 13:43 GMT+01:00 Mariano Martinez Peck <span dir="ltr">&lt;<a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><br></div><div>I was thinking the following. Having to distribute the FFI wrapper (take as an example the myself wrapper) with the .ston files is a bit of a pain with MC.  So I was thinking...what if FFISharedPool has all the machinery to allow FFI lib wrapper developer (the developer of the MySQL wrapper), to autogenerate the ston file as we said, BUT, the ston file is stored as methods in the MYSQLInterface subclass? Probably under a &quot;autogenerated&quot; protocol. That way, it&#39;s very easy to distribute and in addition, at system startup it&#39;s easier to &quot;search&quot; for the &quot;ston files&quot;.</div><div><br></div><div>The only drawback is the for very large ston files MC will suffer a bit.. but..</div><div><br></div><div>Thoughts?</div></blockquote></div><br>After reading this thread I have no understanding why &quot;platform constants&quot; information should be distributed as ston files? Why not generate smalltalk classes or methods for each platform? They will initialize pool variables directly when platform change happens. And no problems with there distribution</div></blockquote></div><br>In your example it can be methods on MYSQLInterface class side like:</div><div class="gmail_extra">MYSQLInterface&gt;&gt;initWindows64Declarations<br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div class="gmail_extra">ConstantA := 1</div><div class="gmail_extra">ConstantB := 5<br></div></blockquote><div class="gmail_extra">MYSQLInterface&gt;&gt;initWindows32Declarations<br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div class="gmail_extra">ConstantA := 2.<br></div><div class="gmail_extra">ConstantB := 6<br></div></blockquote><div class="gmail_extra">MYSQLInterface&gt;&gt;initUnix32Declarations<br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div class="gmail_extra">ConstantA := 3.<br></div><div class="gmail_extra">ConstantB := 7<br></div></blockquote><div class="gmail_extra"><br></div><div class="gmail_extra">And this methods can be published in separate packages if needed</div></div>