return FFI_BAD_ABI;
}
- // we currently don't support certain kinds of arguments for raw
+ /* we currently don't support certain kinds of arguments for raw
// closures. This should be implemented by a separate assembly language
// routine, since it would require argument processing, something we
- // don't do now for performance.
+ // don't do now for performance. */
for (i = cif->nargs-1; i >= 0; i--)
{
new = PyBytes_FromStringAndSize(NULL, view.len);
if (!new)
goto fail;
- // XXX(brett.cannon): Better way to get to internal buffer?
+ /* XXX(brett.cannon): Better way to get to internal buffer? */
if (PyBuffer_ToContiguous(((PyBytesObject *)new)->ob_sval,
&view, view.len, 'C') < 0)
goto fail;
/* Fast detection of the most frequent whitespace characters */
const unsigned char _Py_ascii_whitespace[] = {
0, 0, 0, 0, 0, 0, 0, 0,
-// case 0x0009: /* HORIZONTAL TABULATION */
-// case 0x000A: /* LINE FEED */
-// case 0x000B: /* VERTICAL TABULATION */
-// case 0x000C: /* FORM FEED */
-// case 0x000D: /* CARRIAGE RETURN */
+/* case 0x0009: * HORIZONTAL TABULATION */
+/* case 0x000A: * LINE FEED */
+/* case 0x000B: * VERTICAL TABULATION */
+/* case 0x000C: * FORM FEED */
+/* case 0x000D: * CARRIAGE RETURN */
0, 1, 1, 1, 1, 1, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
-// case 0x001C: /* FILE SEPARATOR */
-// case 0x001D: /* GROUP SEPARATOR */
-// case 0x001E: /* RECORD SEPARATOR */
-// case 0x001F: /* UNIT SEPARATOR */
+/* case 0x001C: * FILE SEPARATOR */
+/* case 0x001D: * GROUP SEPARATOR */
+/* case 0x001E: * RECORD SEPARATOR */
+/* case 0x001F: * UNIT SEPARATOR */
0, 0, 0, 0, 1, 1, 1, 1,
-// case 0x0020: /* SPACE */
+/* case 0x0020: * SPACE */
1, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
/* Same for linebreaks */
static unsigned char ascii_linebreak[] = {
0, 0, 0, 0, 0, 0, 0, 0,
-// 0x000A, /* LINE FEED */
-// 0x000D, /* CARRIAGE RETURN */
+/* 0x000A, * LINE FEED */
+/* 0x000D, * CARRIAGE RETURN */
0, 0, 1, 0, 0, 1, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
-// 0x001C, /* FILE SEPARATOR */
-// 0x001D, /* GROUP SEPARATOR */
-// 0x001E, /* RECORD SEPARATOR */
+/* 0x001C, * FILE SEPARATOR */
+/* 0x001D, * GROUP SEPARATOR */
+/* 0x001E, * RECORD SEPARATOR */
0, 0, 0, 0, 1, 1, 1, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
}
}
- if (rc == 1) // Already warned for this module. */
+ if (rc == 1) /* Already warned for this module. */
goto return_none;
if (rc == 0) {
PyObject *show_fxn = get_warnings_attr("showwarning");
warn_doc},
{"warn_explicit", (PyCFunction)warnings_warn_explicit,
METH_VARARGS | METH_KEYWORDS, warn_explicit_doc},
- // XXX(brett.cannon): add showwarning?
- // XXX(brett.cannon): Reasonable to add formatwarning?
+ /* XXX(brett.cannon): add showwarning? */
+ /* XXX(brett.cannon): Reasonable to add formatwarning? */
{NULL, NULL} /* sentinel */
};