You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While Mark (blitz-research / Speedy Snail) brought up the topic of passing strings to C not requiring "ToCString()" I scanned the git history of bcc to check when this automatic behaviour was added.
Now the questions are:
Why was this done?
Wouldn't one expect to pass the "object pointer" instead of some "magic auto generation"?
(What about the people who want to pass the string object / pointer instead of the string content?)
@HurryStarfish suggested (without much tinker-time - so just a "simple thought") to have something explicitely introduced, like the reverse of $z or $w.
The text was updated successfully, but these errors were encountered:
Heya,
While Mark (blitz-research / Speedy Snail) brought up the topic of passing strings to C not requiring "ToCString()" I scanned the git history of bcc to check when this automatic behaviour was added.
Seems in 2014 ...
ce46857
Now the questions are:
Why was this done?
Wouldn't one expect to pass the "object pointer" instead of some "magic auto generation"?
(What about the people who want to pass the string object / pointer instead of the string content?)
@HurryStarfish suggested (without much tinker-time - so just a "simple thought") to have something explicitely introduced, like the reverse of
$z
or$w
.The text was updated successfully, but these errors were encountered: