am d48277e2: Rearrange the virtual functions in type_info to match the gcc layout, rather than the FreeBSD layout.
* commit 'd48277e2a7749bd2555e0b75f30ed33225462429':
Rearrange the virtual functions in type_info to match the gcc layout, rather than the FreeBSD layout.
diff --git a/src/typeinfo.h b/src/typeinfo.h
index 8223977..6bfbf0b 100644
--- a/src/typeinfo.h
+++ b/src/typeinfo.h
@@ -70,6 +70,14 @@
*/
public:
/**
+ * Returns true if this is some pointer type, false otherwise.
+ */
+ virtual bool __is_pointer_p() const { return false; }
+ /**
+ * Returns true if this is some function type, false otherwise.
+ */
+ virtual bool __is_function_p() const { return false; }
+ /**
* Catch function. Allows external libraries to implement
* their own basic types. This is used, for example, in the
* GNUstep Objective-C runtime to allow Objective-C types to be
@@ -95,14 +103,6 @@
{
return false;
}
- /**
- * Returns true if this is some pointer type, false otherwise.
- */
- virtual bool __is_pointer_p() const { return false; }
- /**
- * Returns true if this is some function type, false otherwise.
- */
- virtual bool __is_function_p() const { return false; }
};
}