mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
use C style comments instead of C++ style comments
According to CONTRIBUTING.md, Don't use C++ style comments /* This is the prefered comment style */ Use C++ style comments only for temporary comment e.g. commenting out some code lines.
This commit is contained in:
+1
-1
@@ -304,7 +304,7 @@ mrb_value mrb_obj_clone(mrb_state *mrb, mrb_value self);
|
||||
|
||||
/* need to include <ctype.h> to use these macros */
|
||||
#ifndef ISPRINT
|
||||
//#define ISASCII(c) isascii((int)(unsigned char)(c))
|
||||
/* #define ISASCII(c) isascii((int)(unsigned char)(c)) */
|
||||
#define ISASCII(c) 1
|
||||
#define ISPRINT(c) (ISASCII(c) && isprint((int)(unsigned char)(c)))
|
||||
#define ISSPACE(c) (ISASCII(c) && isspace((int)(unsigned char)(c)))
|
||||
|
||||
Reference in New Issue
Block a user