Skip to content

Commit c10e6ea

Browse files
Document target:is_arch64() (#253)
1 parent 12564fd commit c10e6ea

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docs/api/scripts/target-instance.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,30 @@ target:is_arch("x86")
210210
target:is_arch("x64", "x86_64")
211211
```
212212

213+
## target:is_arch64
214+
215+
- Is the current architecture a 64-bit one
216+
217+
#### Function Prototype
218+
219+
::: tip API
220+
```lua
221+
target:is_arch64()
222+
```
223+
:::
224+
225+
#### Parameter Description
226+
227+
No parameters required for this function.
228+
229+
#### Usage
230+
231+
232+
```lua
233+
- Is the current architecture 64-bit?
234+
target:is_arch64()
235+
```
236+
213237
## target:targetfile
214238

215239
- Get the target file path

0 commit comments

Comments
 (0)