Fork of NextBSD's libxpc for Darling build
Go to file
Ariel Abreu 8596b6c39a
Restrucure project and rewrite serialization logic
This commit reorganizes the project to be a little more... organized ;)

It's a matter of preference, but I personally think separating sources and headers is more orderly. Various unnecessary sources that we inherited from NextBSD have also been removed.

We now use an exported symbols list to make our exported symbols match Apple's official libxpc (with the exception of those that we haven't stubbed/defined yet).

And finally, the {de,}serialization logic has been completely rewritten to match Apple's serialization format. The only possible issue there are doubles, which like the old code, we assume the double format is identical between the source machine and the receiving machine (which is probably a safe assumption, but should be avoided if possible).

Oh, and it also various little fixes, the most important of which is that creating a non-empty dictionary now works properly (we were previously doubling the entry count).
2021-01-07 00:19:52 -05:00
include Restrucure project and rewrite serialization logic 2021-01-07 00:19:52 -05:00
internal-include/xpc Restrucure project and rewrite serialization logic 2021-01-07 00:19:52 -05:00
scripts Restrucure project and rewrite serialization logic 2021-01-07 00:19:52 -05:00
src Restrucure project and rewrite serialization logic 2021-01-07 00:19:52 -05:00
.gitignore Initial commit 2015-09-11 16:35:24 +02:00
CMakeLists.txt Restrucure project and rewrite serialization logic 2021-01-07 00:19:52 -05:00