Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
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
Libraries
mruby
Commits
ea828944
Commit
ea828944
authored
Dec 02, 2014
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:mruby/mruby
parents
4c70b5c6
64d1d104
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
include/mruby.h
include/mruby.h
+1
-1
mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c
mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c
+4
-2
No files found.
include/mruby.h
View file @
ea828944
...
...
@@ -359,7 +359,7 @@ MRB_API mrb_value mrb_obj_clone(mrb_state *mrb, mrb_value self);
#define ISALPHA(c) (ISASCII(c) && isalpha((int)(unsigned char)(c)))
#define ISDIGIT(c) (ISASCII(c) && isdigit((int)(unsigned char)(c)))
#define ISXDIGIT(c) (ISASCII(c) && isxdigit((int)(unsigned char)(c)))
#define ISBLANK(c) (ISASCII(c) &&
isblank((int)(unsigned char)(c)
))
#define ISBLANK(c) (ISASCII(c) &&
((c) == ' ' || (c) == '\t'
))
#define ISCNTRL(c) (ISASCII(c) && iscntrl((int)(unsigned char)(c)))
#define TOUPPER(c) (ISASCII(c) ? toupper((int)(unsigned char)(c)) : (c))
#define TOLOWER(c) (ISASCII(c) ? tolower((int)(unsigned char)(c)) : (c))
...
...
mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c
View file @
ea828944
...
...
@@ -58,9 +58,11 @@ print_api_common_error(int32_t error)
}
#undef STRTOUL
#define STRTOUL(ul,s) \
#define STRTOUL(ul,s) { \
int i; \
ul = 0; \
for(int i=0; ISDIGIT(s[i]); i++) ul = 10*ul + (s[i] -'0');
for(i=0; ISDIGIT(s[i]); i++) ul = 10*ul + (s[i] -'0'); \
}
static
int32_t
parse_breakpoint_no
(
char
*
args
)
...
...
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