mirror of
https://github.com/darlinghq/darling-libobjc2.git
synced 2024-12-18 01:26:53 +00:00
Expose a function needed by GNUstep.
This commit is contained in:
parent
e2d848467c
commit
eb48fda62b
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user