AFAICS, we won't need any callbacks for the C bindings. So my idea was to move the callback declarations from parcel.c to a separate callbacks.h header file. Then the C bindings can use a dummy version of callbacks.h which defines every callback symbol to NULL. But I'm not sure where's the best place to decide which version gets written. I see the following possibilities:
1. Add a flag to CoreBind and let this class write callbacks.h accordingly. I chose this approach in my c-bindings-wip1 branch. 2. Let the host language code in CFC trigger the creation of callbacks.h. This would probably mean to instantiate another temp CoreBind object in the host language code for this task. Thoughts? Nick
