swift_allocObject
should be exported as an unmangled symbol name:
$ nm /usr/lib/swift/libswiftCore.dylib |grep swift_allocObject
00000000002c9630 t 00000000002c9620 T _swift_allocObject
and it's using the C calling convention, so you can declare it with a compatible signature in your own C header.