Christoph Badura wrote:
I have experimental code using a syscall that takes a proplib object as
argument.
Usage from userland is like:
if (prop_dictionary_pack_pref(obj, &pref) != 0)
adios("can't create plistref");
if (mysyscall(&pref) == -1)
adios("nysyscall");
I believe my code does a similar thing, only that the object packing into a plistref is done inside the proplib code and you just pass the dictionaries to the syscall (actually, to the library call, and it takes care of everything else). -e.