c++ namespace

Started by
1 comment, last by Rain Dog 19 years, 2 months ago
I noticed that memory.h is included in angelscript.h I use a namespace around angelscript.h, and somehow this is causing some problems in the linux build of my engine.. Works fine in visual studio tough It would be great if this include would (somehow) be removed from angelscript.h I hope it's not too much trouble.. thanks
Advertisement
It's included because of memset() and memcpy(). You should be able to remove this include by prototyping these functions in the global namespace instead.

I'll see what I can do for a future release.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Or can't use just use global resolution for the functions?

::memset()
::memcpy()

This topic is closed to new replies.

Advertisement