Fix expand-to-foreign-dyn-indirect
Create a new function #'foreign-expand-runtime-translator-or-binding which is what the methods expand-to-foreign-dyn (value var body (type enhanced-foreign-type)) expand-to-foreign-dyn-indirect (value var body (type translatable-foreign-type)) both call. Previously, the body of that function was the body of the first method, and the second method called that generic function. This did not work as intended however, the result being that libffi calls were passed the actual object instead of the pointer. This change fixes that problem.
parent
6eb2778e
Please register or sign in to comment