~brandontschaefer/unity/move-pointer-barrier-to-xi-1.6.99.1

« back to all changes in this revision

Viewing changes to UnityCore/GLibWrapper-inl.h

  • Committer: Michal Hruby
  • Date: 2012-07-04 20:16:06 UTC
  • mto: (2479.2.1 unity-annotated-icon)
  • mto: This revision was merged to the branch mainline in revision 2486.
  • Revision ID: michal.mhr@gmail.com-20120704201606-jhjp5li21mxq7vtc
Added Object::IsType method

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
  return result;
114
114
}
115
115
 
 
116
template <typename T>
 
117
bool Object<T>::IsType(GType type) const
 
118
{
 
119
  return G_TYPE_CHECK_INSTANCE_TYPE(object_, type) != FALSE;
 
120
}
 
121
 
116
122
 
117
123
}
118
124
}