Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
typon-compiler
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
typon
typon-compiler
Commits
0a3c951f
Commit
0a3c951f
authored
Jul 07, 2023
by
Tom Niget
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add io module
parent
b9840c4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
rt/include/python/io.hpp
rt/include/python/io.hpp
+16
-0
trans/stdlib/io.py
trans/stdlib/io.py
+3
-0
No files found.
rt/include/python/io.hpp
0 → 100644
View file @
0a3c951f
//
// Created by Tom on 04/07/2023.
//
#ifndef TYPON_IO_HPP
#define TYPON_IO_HPP
namespace
py_io
{
struct
io_t
{
static
constexpr
int
DEFAULT_BUFFER_SIZE
=
8192
;
}
all
;
auto
&
get_all
()
{
return
all
;
}
}
// namespace py_io
#endif // TYPON_IO_HPP
trans/stdlib/io.py
0 → 100644
View file @
0a3c951f
# coding: utf-8
DEFAULT_BUFFER_SIZE
:
int
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment