~ubuntu-branches/ubuntu/maverick/pango1.0/maverick-proposed

« back to all changes in this revision

Viewing changes to pango/opentype/hb-ot-layout-gsubgpos-private.hh

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-08-11 17:30:40 UTC
  • mfrom: (1.5.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090811173040-zozfegyjkb39sep2
Tags: 1.25.2-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
439
439
struct Context
440
440
{
441
441
  protected:
442
 
  bool apply (APPLY_ARG_DEF, apply_lookup_func_t apply_func) const
 
442
  inline bool apply (APPLY_ARG_DEF, apply_lookup_func_t apply_func) const
443
443
  {
444
444
    switch (u.format) {
445
445
    case 1: return u.format1->apply (APPLY_ARG, apply_func);
449
449
    }
450
450
  }
451
451
 
452
 
  bool sanitize (SANITIZE_ARG_DEF) {
 
452
  inline bool sanitize (SANITIZE_ARG_DEF) {
453
453
    SANITIZE_DEBUG ();
454
454
    if (!SANITIZE (u.format)) return false;
455
455
    switch (u.format) {
746
746
struct ChainContext
747
747
{
748
748
  protected:
749
 
  bool apply (APPLY_ARG_DEF, apply_lookup_func_t apply_func) const
 
749
  inline bool apply (APPLY_ARG_DEF, apply_lookup_func_t apply_func) const
750
750
  {
751
751
    switch (u.format) {
752
752
    case 1: return u.format1->apply (APPLY_ARG, apply_func);
756
756
    }
757
757
  }
758
758
 
759
 
  bool sanitize (SANITIZE_ARG_DEF) {
 
759
  inline bool sanitize (SANITIZE_ARG_DEF) {
760
760
    SANITIZE_DEBUG ();
761
761
    if (!SANITIZE (u.format)) return false;
762
762
    switch (u.format) {
826
826
    }
827
827
  }
828
828
 
829
 
  bool sanitize (SANITIZE_ARG_DEF) {
 
829
  inline bool sanitize (SANITIZE_ARG_DEF) {
830
830
    SANITIZE_DEBUG ();
831
831
    if (!SANITIZE (u.format)) return false;
832
832
    switch (u.format) {
884
884
  inline const Lookup& get_lookup (unsigned int i) const
885
885
  { return (this+lookupList)[i]; }
886
886
 
887
 
  bool sanitize (SANITIZE_ARG_DEF) {
 
887
  inline bool sanitize (SANITIZE_ARG_DEF) {
888
888
    SANITIZE_DEBUG ();
889
889
    if (!SANITIZE (version)) return false;
890
890
    if (version.major != 1) return true;