Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
flow3r firmware
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flow3r
flow3r firmware
Merge requests
!29
ci: actually check formatting
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
ci: actually check formatting
q3k-ci-format
into
main
Overview
0
Commits
3
Pipelines
12
Changes
2
Merged
q3k
requested to merge
q3k-ci-format
into
main
1 year ago
Overview
0
Commits
3
Pipelines
12
Changes
2
Expand
0
0
Merge request reports
Compare
main
version 6
3a2f76ab
1 year ago
version 5
641d0c8b
1 year ago
version 4
3d109023
1 year ago
version 3
871feb6a
1 year ago
version 2
860fd120
1 year ago
version 1
528aa2d8
1 year ago
main (base)
and
latest version
latest version
1a6b74e7
3 commits,
1 year ago
version 6
3a2f76ab
3 commits,
1 year ago
version 5
641d0c8b
3 commits,
1 year ago
version 4
3d109023
3 commits,
1 year ago
version 3
871feb6a
3 commits,
1 year ago
version 2
860fd120
2 commits,
1 year ago
version 1
528aa2d8
1 commit,
1 year ago
2 files
+
19
−
31
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
components/micropython/usermodule/mp_uctx.c
+
12
−
13
Options
@@ -121,19 +121,18 @@ void gc_collect(void);
MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(mp_ctx_##name##_obj, 7, 7, \
mp_ctx_##name);
#define MP_CTX_COMMON_FUN_6FI(name) \
static mp_obj_t mp_ctx_##name(size_t n_args, const mp_obj_t *args) { \
assert(n_args == 7); \
mp_ctx_obj_t *self = MP_OBJ_TO_PTR(args[0]); \
ctx_##name(self->ctx, (float)mp_obj_get_float(args[1]), \
(float)mp_obj_get_float(args[2]), \
(float)mp_obj_get_float(args[3]), \
(float)mp_obj_get_float(args[4]), \
(float)mp_obj_get_float(args[5]), \
mp_obj_get_int(args[6])); \
return self; \
} \
MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(mp_ctx_##name##_obj, 7, 7, \
#define MP_CTX_COMMON_FUN_6FI(name) \
static mp_obj_t mp_ctx_##name(size_t n_args, const mp_obj_t *args) { \
assert(n_args == 7); \
mp_ctx_obj_t *self = MP_OBJ_TO_PTR(args[0]); \
ctx_##name(self->ctx, (float)mp_obj_get_float(args[1]), \
(float)mp_obj_get_float(args[2]), \
(float)mp_obj_get_float(args[3]), \
(float)mp_obj_get_float(args[4]), \
(float)mp_obj_get_float(args[5]), mp_obj_get_int(args[6])); \
return self; \
} \
MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(mp_ctx_##name##_obj, 7, 7, \
mp_ctx_##name);
#define MP_CTX_COMMON_FUN_7F(name) \
Loading