Jump to content
  • Advertisement

Exception helpers always uses std::string

Recommended Posts

ScriptThrow and ScriptGetExceptionInfo assume that the user-declared string type is always std::string. If you are using your own string class, that is obviously not going to end well. It's not a huge deal, since you can implement them yourself easily enough, but a warning might not be a bad idea...

For the rest, thanks for this new release! 🙂

Share this post

Link to post
Share on other sites

I'll try to make the code a bit more friendly for use with custom strings. 

Thanks for the heads up.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!