That's not a problem if the "cast" is inside the C function since the value on the stack still would be a SecretString. But you're correct if the pike code would have to look like write((string) secret).
/ Martin Stjernholm, Roxen IS
Previous text:
2003-01-30 16:30: Subject: Re: OpenSSL wrapper vs Pike's SSL (Was: Bz2)
Well, it reduces the problem, but doesn't *solve* it. Consider a C module calling a pike function that raises an exception.
/ Niels Möller ()