Add more comments
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 22 Apr 2010 03:13:33 +0000 (23:13 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 22 Apr 2010 03:13:33 +0000 (23:13 -0400)
src/hb-open-type-private.hh

index 3273b86..d81116d 100644 (file)
@@ -40,6 +40,7 @@
  * Casts
  */
 
+/* Cast to const char *, to char *, or to char * dropping const-ness */
 template <typename Type> inline const char * ConstCharP (const Type X) { return reinterpret_cast<const char *>(X); }
 template <typename Type> inline char * CharP (Type X) { return reinterpret_cast<char *>(X); }
 template <typename Type> inline char * DeConstCharP (const Type X) { return (char *) reinterpret_cast<const char *>(X); }