+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
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;
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);
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;
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);
}
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;
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)
{