Skip to content

Commit

Permalink
add the code output to the io.open function (#769)
Browse files Browse the repository at this point in the history
Updated definition for io.open function to expose the 3rd parameter containing the returning code as integer

* Add the code output to the io.open function
* generate the tl.lua
  • Loading branch information
V1K1NGbg authored and hishamhm committed Aug 2, 2024
1 parent c3d3fd9 commit af884a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ do
lines: function(? string, (number | FileMode)...): (function(): ((string | number)...))
lines: function(? string, (number | string)...): (function(): (string...))
open: function(string, ? OpenMode): FILE, string
open: function(string, ? OpenMode): FILE, string, integer
output: function(? FILE): FILE
popen: function(string, ? OpenMode): FILE, string
Expand Down
2 changes: 1 addition & 1 deletion tl.tl
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ do
lines: function(? string, (number | FileMode)...): (function(): ((string | number)...))
lines: function(? string, (number | string)...): (function(): (string...))
open: function(string, ? OpenMode): FILE, string
open: function(string, ? OpenMode): FILE, string, integer
output: function(? FILE): FILE
popen: function(string, ? OpenMode): FILE, string
Expand Down

0 comments on commit af884a9

Please sign in to comment.