mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
Bug 780965: Use C-style instead of C++-style comments in JS headers included by .c files. r=jorendorff
This commit is contained in:
parent
237a61c896
commit
19e23d829d
@ -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;
|
||||
}
|
||||
|
@ -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();
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user