From: Behdad Esfahbod Date: Tue, 4 May 2010 18:28:18 +0000 (-0400) Subject: Make internal method private X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=30fa2821c277df99a14089749313dfe2b541e2d0;p=platform%2Fupstream%2FlibHarfBuzzSharp.git Make internal method private --- diff --git a/src/hb-open-type-private.hh b/src/hb-open-type-private.hh index a3e6f4d..786c08d 100644 --- a/src/hb-open-type-private.hh +++ b/src/hb-open-type-private.hh @@ -511,11 +511,6 @@ struct GenericArrayOf inline unsigned int get_size () const { return len.get_size () + len * Type::get_size (); } - inline bool sanitize_shallow (SANITIZE_ARG_DEF) { - TRACE_SANITIZE (); - return SANITIZE_SELF() && SANITIZE_ARRAY (this, Type::get_size (), len); - } - inline bool sanitize (SANITIZE_ARG_DEF) { TRACE_SANITIZE (); if (!likely (sanitize_shallow (SANITIZE_ARG))) return false; @@ -561,6 +556,13 @@ struct GenericArrayOf return true; } + private: + inline bool sanitize_shallow (SANITIZE_ARG_DEF) { + TRACE_SANITIZE (); + return SANITIZE_SELF() && SANITIZE_ARRAY (this, Type::get_size (), len); + } + + public: LenType len; /*Type array[VAR];*/ };