Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6-lwp-gsoc, 2015-03-25

| Channels | #perl6-lwp-gsoc index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
03:52 ilbot3 joined #perl6-lwp-gsoc
03:52 Topic for #perl6-lwp-gsoc is now logs at http://irclog.perlgeek.de/perl6-lwp-gsoc/
08:06 FROGGS joined #perl6-lwp-gsoc
13:22 sergot joined #perl6-lwp-gsoc
13:30 sergot hey FROGGS
13:33 FROGGS hey :o)
13:34 sergot do you have some time to talk to me about the "pointer" thingy
13:34 sergot ?
13:35 sergot what exactly is to do there?
13:35 sergot and where
13:35 sergot any why
13:35 sergot :)
13:39 FROGGS yes, I have
13:40 FROGGS can you first try if there actually is an issue?
13:40 FROGGS like having a C function that takes a void*, mallocs a long and set its value...
13:41 FROGGS and from P6 we pass a variable of type Pointer to it, and try to get at the value
13:42 FROGGS that is a common thing in C, because you can only return a single value
13:42 FROGGS or wait...
13:42 FROGGS usually the caller mallocs...
13:42 sergot hmm
13:42 FROGGS so we would have to do that in P6
13:43 sergot I will try to reproduce this
13:45 sergot 4 int getVoidP(void *) {
13:45 sergot 5     return 1;
13:45 sergot 6 }
13:46 sergot this should cause the problem, right?
13:48 FROGGS no
13:49 FROGGS it is about updating that void*
13:50 FROGGS int getVoidP(void* foo) { if (foo != NULL) *(long *)foo = 42; return 1 }
14:06 sergot oh, updateing it
17:01 FROGGS[mobile] joined #perl6-lwp-gsoc
18:50 FROGGS[mobile] joined #perl6-lwp-gsoc
19:07 FROGGS[mobile] joined #perl6-lwp-gsoc
19:18 FROGGS joined #perl6-lwp-gsoc
20:53 FROGGS[mobile] joined #perl6-lwp-gsoc
21:34 FROGGS[mobile]2 joined #perl6-lwp-gsoc

| Channels | #perl6-lwp-gsoc index | Today | | Search | Google Search | Plain-Text | summary