Get rid of C++-style comments.
This commit is contained in:
parent
5b4a40a955
commit
bb6b19938e
|
@ -1,3 +1,11 @@
|
|||
2006-03-03 Patrick Lam <plam@mit.edu>
|
||||
* src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
|
||||
* src/fcfreetype.c (GetScriptTags):
|
||||
* src/fcfs.c (FcFontSetDistributeBytes):
|
||||
* src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
|
||||
|
||||
Get rid of C++-style comments.
|
||||
|
||||
2006-03-03 Patrick Lam <plam@mit.edu>
|
||||
* debian/changelog
|
||||
|
||||
|
|
|
@ -634,7 +634,7 @@ FcCacheSkipToArch (int fd, const char * arch)
|
|||
return -1;
|
||||
bs = strtol(candidate_arch_machine_name_count, &candidate_arch, 16);
|
||||
|
||||
// count = 0 should probably be distinguished from the !bs condition
|
||||
/* count = 0 should probably be distinguished from the !bs condition */
|
||||
if (!bs || bs < strlen (candidate_arch_machine_name_count))
|
||||
return -1;
|
||||
|
||||
|
@ -1206,7 +1206,7 @@ FcDirCacheProduce (FcFontSet *set, FcCache *metadata)
|
|||
current_dir_block = malloc (metadata->count);
|
||||
if (!current_dir_block)
|
||||
goto bail;
|
||||
// shut up valgrind
|
||||
/* shut up valgrind */
|
||||
memset (current_dir_block, 0, metadata->count);
|
||||
final_dir_block = FcFontSetDistributeBytes (metadata, current_dir_block);
|
||||
|
||||
|
|
|
@ -2815,7 +2815,7 @@ GetScriptTags(FT_Face face, FT_ULong tabletag, FT_ULong **stags, FT_UShort *scri
|
|||
goto Fail;
|
||||
}
|
||||
|
||||
// sort the tag list before returning it
|
||||
/* sort the tag list before returning it */
|
||||
qsort(*stags, *script_count, sizeof(FT_ULong), compareulong);
|
||||
|
||||
return TT_Err_Ok;
|
||||
|
|
|
@ -123,12 +123,12 @@ FcFontSetDistributeBytes (FcCache * metadata, void * block_ptr)
|
|||
block_ptr = ALIGN (block_ptr, int);
|
||||
fcfs_pat_count = (int *)block_ptr;
|
||||
block_ptr = (int *)block_ptr + 1;
|
||||
// we don't consume any bytes for the fontset itself,
|
||||
// since we don't allocate it statically.
|
||||
/* we don't consume any bytes for the fontset itself, */
|
||||
/* since we don't allocate it statically. */
|
||||
block_ptr = FcPatternDistributeBytes (metadata, block_ptr);
|
||||
|
||||
// for good measure, write out the object ids used for
|
||||
// this bank to the file.
|
||||
/* for good measure, write out the object ids used for */
|
||||
/* this bank to the file. */
|
||||
return FcObjectDistributeBytes (metadata, block_ptr);
|
||||
}
|
||||
|
||||
|
|
|
@ -393,7 +393,7 @@ FcValueListEntCreate (FcValueListPtr h)
|
|||
size = sizeof (FcValueListAlign) + n * sizeof (FcValueList);
|
||||
FcValueListFrozenCount[FcValueListPtrU(h)->value.type]++;
|
||||
FcValueListFrozenBytes[FcValueListPtrU(h)->value.type] += size;
|
||||
// this leaks for some reason
|
||||
/* this leaks for some reason */
|
||||
ea = malloc (sizeof (FcValueListAlign));
|
||||
if (!ea)
|
||||
return 0;
|
||||
|
@ -1694,7 +1694,8 @@ FcValueListNeededBytes (FcValueList *p)
|
|||
vl;
|
||||
vl = FcValueListPtrU(vl->next))
|
||||
{
|
||||
FcValue v = FcValueCanonicalize(&vl->value); // unserialize just in case
|
||||
/* unserialize just in case */
|
||||
FcValue v = FcValueCanonicalize(&vl->value);
|
||||
|
||||
switch (v.type)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue