Expose a function needed by GNUstep.

This commit is contained in:
theraven 2010-09-09 16:06:48 +00:00
parent e2d848467c
commit eb48fda62b
2 changed files with 2 additions and 5 deletions

View File

@ -320,11 +320,6 @@ size_t objc_aligned_size(const char *type)
return size + (size % align);
}
/*
The size rounded up to the nearest integral of the wordsize, taken
to be the size of a void *.
*/
size_t objc_promoted_size(const char *type)
{
size_t size = objc_sizeof_type(type);

View File

@ -14,6 +14,8 @@ size_t objc_alignof_type(const char *type);
size_t objc_aligned_size(const char *type);
size_t objc_promoted_size(const char *type);
void method_getReturnType(Method method, char *dst, size_t dst_len);
const char *method_getTypeEncoding(Method method);