Skip to content

Commit

Permalink
documents the isolated argument to DREAMLUAU_NEW_STATE
Browse files Browse the repository at this point in the history
  • Loading branch information
Y0SH1M4S73R committed Nov 3, 2024
1 parent 2da9af6 commit 79193e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dmsrc/api.dm
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@
/**
* Create a new luau state.
*
* @param isolated if truthy, the `dm`, `list`, and `pointer` modules are not included in the state,
* and values other than null, numbers, or strings passed as function call or thread resume arguments
* are converted to `nil`
*
* @return a handle to the created state.
*/
#define DREAMLUAU_NEW_STATE DREAMLUAU_CALL(new_state)
Expand Down

0 comments on commit 79193e2

Please sign in to comment.