Jump to content
  • Advertisement
Sign in to follow this  
quarnster

AS_64BIT_PTR

This topic is 2160 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

The internal header as_config.h has:
// Is the target a 64bit system?
#if defined(__LP64__) || defined(__amd64__) || defined(__x86_64__) || defined(_M_X64)
#ifndef AS_64BIT_PTR
#define AS_64BIT_PTR
#endif
#endif


But this isn't defined in angelscript.h. Is that intentional?

Share this post


Link to post
Share on other sites
Advertisement
The AS_64BIT_PTR symbol isn't used in angelscript.h, and I do not want to clutter the header file with a lot of unused stuff.

Share this post


Link to post
Share on other sites
Not for regular users, but JIT people will run into an issue with AS_PTR_SIZE being a different size in files which include angelscript.h. Is that whole code block needed for regular users? IMO the JIT needs to be so tied in with AngelScript so it'll most likely include the AngelScript internal headers anyway and thus it could be moved from the public header to an internal one.

Share this post


Link to post
Share on other sites
I see now what you mean. This must be a left over from when I moved the bytecode definition to the angelscript.h header.

I'll have it fixed.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!