
The function pointer-element-size returns the size, in bytes, of the object pointed to by pointer .
In the following example a pointer to an integer is created. Then the size in bytes of the integer is returned using pointer-element-size .
(setq point (fli:allocate-foreign-object :type :int)) (fli:pointer-element-size point)