Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
micropython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
card10
micropython
Commits
77a48e8c
Commit
77a48e8c
authored
7 years ago
by
Damien George
Browse files
Options
Downloads
Patches
Plain Diff
py/obj: Remove declaration for mp_obj_new_none(), it's never defined.
parent
98da3cf4
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
py/obj.h
+0
-1
0 additions, 1 deletion
py/obj.h
with
0 additions
and
1 deletion
py/obj.h
+
0
−
1
View file @
77a48e8c
...
@@ -630,7 +630,6 @@ extern const struct _mp_obj_exception_t mp_const_GeneratorExit_obj;
...
@@ -630,7 +630,6 @@ extern const struct _mp_obj_exception_t mp_const_GeneratorExit_obj;
// General API for objects
// General API for objects
mp_obj_t
mp_obj_new_type
(
qstr
name
,
mp_obj_t
bases_tuple
,
mp_obj_t
locals_dict
);
mp_obj_t
mp_obj_new_type
(
qstr
name
,
mp_obj_t
bases_tuple
,
mp_obj_t
locals_dict
);
mp_obj_t
mp_obj_new_none
(
void
);
static
inline
mp_obj_t
mp_obj_new_bool
(
mp_int_t
x
)
{
return
x
?
mp_const_true
:
mp_const_false
;
}
static
inline
mp_obj_t
mp_obj_new_bool
(
mp_int_t
x
)
{
return
x
?
mp_const_true
:
mp_const_false
;
}
mp_obj_t
mp_obj_new_cell
(
mp_obj_t
obj
);
mp_obj_t
mp_obj_new_cell
(
mp_obj_t
obj
);
mp_obj_t
mp_obj_new_int
(
mp_int_t
value
);
mp_obj_t
mp_obj_new_int
(
mp_int_t
value
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment