[Prev][Next][Index][Thread]

Re: Assorted C-FFI goodies



>>>>> "Chris" == Chris Double <chris@double.co.nz> writes:

    Chris> In the Functional Developer help, C-FFI and Win32
    Chris> Reference, section 1.9, Utility Designator classes:

    Chris> clear-memory!(pointer, size) => ()
    Chris> copy-bytes!(destination-pointer, source-pointer, size) =>
    Chris> () copy-into!(destination-pointer, source-pointer, size) =>
    Chris> () equal-memory?(ptr1, ptr2, size) => <boolean>

Interesting. The documentation refers to <pointer> types, but all I
can see in GD is a <raw-pointer>:

define functional class <raw-pointer> (<object>)
  sealed slot value :: <raw-pointer>, required-init-keyword: value:;
end;

Is this the same thing? Or, is it actually refering to a <C-pointer>?



References: