Add Type_Info type and add *_type objects at time of type registration.
This commit is contained in:
@@ -315,6 +315,11 @@ namespace chaiscript
|
||||
return m_data->m_type_info.is_const();
|
||||
}
|
||||
|
||||
bool is_type(const Type_Info &ti) const
|
||||
{
|
||||
return m_data->m_type_info.bare_equal(ti);
|
||||
}
|
||||
|
||||
bool is_null() const
|
||||
{
|
||||
if (m_data->m_is_null)
|
||||
|
Reference in New Issue
Block a user