CREATE-PROCESS seems to return a raw pointer, which might not be a good idea type-wise. I have no way to differentiate between pointers created in another way (for example via CFFI allocation) and processes created by CREATE-PROCESS.
Have you considered using a struct or a class wrapper around the returned value so operators like TYPECASE and generic dispatch can work?
From README:
CREATE-PROCESS
seems to return a raw pointer, which might not be a good idea type-wise. I have no way to differentiate between pointers created in another way (for example via CFFI allocation) and processes created byCREATE-PROCESS
.Have you considered using a struct or a class wrapper around the returned value so operators like
TYPECASE
and generic dispatch can work?