Jump to content
  • 0
Sign in to follow this  
newbieppl

question about __64BPRTSIZE

Question

Hello guys,

I am trying to merge the "getunitdata" and "setunitdata" script commands to Hercules

 

I am pretty new, so encountered a lot of questions.

One of the most urgent is 

There is a pointer "__64BPRTSIZE" used in the rathena code

#define getunitdata_sub(idx__,var__) setd_sub(st,sd,name,(idx__),(void *)__64BPRTSIZE((int)(var__)),script_getref(st,3))

They have it defined in the const.h

#ifdef __64BIT__	#define __64BPRTSIZE(y) (intptr)y#else	#define __64BPRTSIZE(y) y#endif

But there is no such definition in Hercules.

So I am wandering what is the replacement of this pointer?

Any suggestions will be appreciated.

 



Figured it out

it's h64BPTRSIZE instead.

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.