Bug 780965: Use C-style instead of C++-style comments in JS headers included by .c files. r=jorendorff

This commit is contained in:
Daniel Holbert 2012-08-07 14:32:24 -07:00
parent 237a61c896
commit 19e23d829d
2 changed files with 4 additions and 4 deletions

View File

@ -2868,7 +2868,7 @@ ToUint64(JSContext *cx, const js::Value &v, uint64_t *out)
}
if (v.isInt32()) {
// Account for sign extension of negatives into the longer 64bit space.
/* Account for sign extension of negatives into the longer 64bit space. */
*out = uint64_t(int64_t(v.toInt32()));
return true;
}

View File

@ -342,7 +342,7 @@ ClearAllBitArrayElements(size_t *array, size_t length)
#ifdef USE_ZLIB
class Compressor
{
// Number of bytes we should hand to zlib each compressMore() call.
/* Number of bytes we should hand to zlib each compressMore() call. */
static const size_t CHUNKSIZE = 2048;
z_stream zs;
const unsigned char *inp;
@ -360,9 +360,9 @@ class Compressor
zs.avail_out = inplen;
}
bool init();
// Compress some of the input. Return true if it should be called again.
/* Compress some of the input. Return true if it should be called again. */
bool compressMore();
// Finalize compression. Return the length of the compressed input.
/* Finalize compression. Return the length of the compressed input. */
size_t finish();
};