Skip to content

Commit fd2008e

Browse files
committed
Add owngil to context_create type spec
1 parent 81c871a commit fd2008e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/py_nif.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,9 +1244,9 @@ pool_stats() ->
12441244
%% on the mode parameter. Returns a reference to the context and its
12451245
%% interpreter ID for routing.
12461246
%%
1247-
%% @param Mode `subinterp' or `worker'
1247+
%% @param Mode `subinterp', `worker', or `owngil'
12481248
%% @returns {ok, ContextRef, InterpId} | {error, Reason}
1249-
-spec context_create(subinterp | worker) ->
1249+
-spec context_create(subinterp | worker | owngil) ->
12501250
{ok, reference(), non_neg_integer()} | {error, term()}.
12511251
context_create(_Mode) ->
12521252
?NIF_STUB.

0 commit comments

Comments
 (0)