On 2019-12-31 01:17, Todd Chester via perl6-users wrote:
On 2019-12-30 23:14, Veesh Goldman wrote:
Method declares a method as opposed to a function. The difference is
that in a method, the first argument passed to the function is bound
to `self`, which represents the object the call was
On 2019-12-30 23:14, Veesh Goldman wrote:
Method declares a method as opposed to a function. The difference is
that in a method, the first argument passed to the function is bound to
`self`, which represents the object the call was made on.
In traditional perl style, when you call a method
Method declares a method as opposed to a function. The difference is that
in a method, the first argument passed to the function is bound to `self`,
which represents the object the call was made on.
In traditional perl style, when you call a method on an object
`your.face('scrambled eggs')`, it
Hi All,
Over at
https://docs.raku.org/language/nativecall.html#Basic_use_of_pointers
There is an example:
useNativeCall;
classFooHandleisrepr('CPointer') {
# Here are the actual NativeCall functions.
subFoo_init() returnsFooHandleisnative("foo") {*}
subFoo_free(FooHandle)