Closed Uberi closed 12 years ago
Done.
Link added. Anything else?
A_PtrSize
exists only in AutoHotkey_L, AutoHotkey_H, AutoHotkey v2 and AutoHotkey_H v2
(or simply and newer).UPtr
and StrGet() / StrPut()
+ code examplesSentence 3 seems to be missing a verb.
It is, nice catch.
not sure whether the struct definition should be highlighted?
Probably not, considering that C++ code highlighting might confuse people who expect the sample to be AHK code. If you think there should be highlighting though, feel free to add it - I'm not sure how to have it highlight C++.
the 1st line under "pointer types" has an unescaped * (escape with backslash)
I've escaped it, as well as the other one under Arrays.
It should be noted that A_PtrSize exists only in AutoHotkey_L, AutoHotkey_H, AutoHotkey v2 and AutoHotkey_H v2 (or simply and newer).
I used "or similarly recent versions" to describe all these different version of AutoHotkey, since "and newer" implies hierarchy.
OK. Should I merge now?
If you don't see any other issues, that'd be great.
Done. Thanks again!
While writing on the DllCall page it comes to my mind it might possibly be better to split the "type mapping" part and put it either on the DllCall page or in a separate page.
Also, what do you think of adding a more complex example? As I use MessageBox for DllCalls, I thought of MessageBoxIndirect.
While writing on the DllCall page it comes to my mind it might possibly be better to split the "type mapping" part and put it either on the DllCall page or in a separate page.
How about a page describing types in AHK, generally? Like Object/String/Integer/Float, and how these map to "machine" types?
Also, what do you think of adding a more complex example? As I use MessageBox for DllCalls, I thought of MessageBoxIndirect.
I believe MessageBoxIndirect is a function as well. I think you meant MSGBOXPARAMS. In any case, I'm a bit busy lately but that would be a great thing to have.
How about a page describing types in AHK, generally? Like Object/String/Integer/Float, and how these map to "machine" types?
+1. I probably would put this right before DllCalls.
How about a page describing types in AHK, generally? Like Object/String/Integer/Float, and how these map to "machine" types?
+1. I probably would put this right before DllCalls.
I couldn't figure out how to reopen it either :/.
Anyways, I added a section about using A_PtrSize to calculate offsets portably, and added a contributor entry.