Skip to content

Commit

Permalink
Adds documentation for SnapDeepCopyLegacy()
Browse files Browse the repository at this point in the history
  • Loading branch information
JujuAdams committed Oct 21, 2023
1 parent 5cd8d03 commit a384221
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion 6.0/utilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,19 @@ The order that values are sent into `method` is guaranteed for arrays and ds_lis

## `SnapDeepCopy`

*Returns:* Struct or array, a deep copy of the input data
*Returns:* Struct or array, a deep copy of the input data respecting constructors

|Name |Datatype |Purpose |
|----------|------------|------------|
|`data` |struct/array|Data to copy|

!> This function is only available in versions of GameMaker with the native functions `static_get()` and `static_set()`.

 

## `SnapDeepCopyLegacy`

*Returns:* Struct or array, a deep copy of the input data ignoring constructors

|Name |Datatype |Purpose |
|----------|------------|------------|
Expand Down

0 comments on commit a384221

Please sign in to comment.