RE: Wrapping C - Callback troubles
- Posted by Bernie Ryan <xotron at bluefrognet.net> Oct 11, 2002
- 397 views
Andy Serpa wrote: > Here's another problem. I'm making the Berkeley DB wrapper which allows > > for certain callback functions to be used. One particular one I'm > trying to set up is supposed to be a void function. The callback works > (my function is called), but when it returns a value (any value) it > crashes. (Callback functions are required to return something.) Is Andy: When you are having troble with "C" always post the complete "C" declaration to the list so that way maybe someone can help you deciper what you are trying to wrap. Bernie