Sign in to follow this  
quarnster

AS_64BIT_PTR

Recommended Posts

The internal header as_config.h has:
[code]// 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[/code]

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

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

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

Sign in to follow this