On Sun, Mar 25, 2012 at 12:16 PM, Nick Wellnhofer <[email protected]> wrote:
> It's not the extensions that need the struct definitions, it's the code in
> parcel.c:
>
> /* Define the variable which holds this class's class name.
>  */
>
> static cfish_ZombieCharBuf LUCY_QUERY_CLASS_NAME = {
>    CFISH_ZOMBIECHARBUF,
>    {1}, /* ref.count */
>    "Lucy::Search::Query",
>    19,
>    0
> };
>
> When building Lucy, CharBuf and VTable are automatically included with
> struct definitions. But in extensions this is not the case.

Got it.

I believe that the solution is to define VTables using a bootstrapping
function at startup rather than define them statically at compile-time.

Marvin Humphrey

Reply via email to