[dev] OCCreateResource entity handler

2015-05-20 Thread Schulhof, Gabriel
Hey! On Wed, May 20, 2015 at 1:38 AM, Lenahan, Charlie wrote: > https://gerrit.iotivity.org/gerrit/#/c/1042/ Super-awesome! Looking forward to getting rid of the libffi dependency! Thanks! Gabriel

[dev] OCCreateResource entity handler

2015-05-19 Thread Lenahan, Charlie
https://gerrit.iotivity.org/gerrit/#/c/1042/ On 5/7/15, 3:29 AM, "Schulhof, Gabriel" wrote: >Hey! > >On Thu, May 7, 2015 at 2:47 AM, Lenahan, Charlie > wrote: >> I have a similar change that was for our objective-c/darwin/ios branch. >> >> I didn?t use a full structure thought(just a callback

[dev] OCCreateResource entity handler

2015-05-07 Thread Schulhof, Gabriel
Hey! On Thu, May 7, 2015 at 2:47 AM, Lenahan, Charlie wrote: > I have a similar change that was for our objective-c/darwin/ios branch. > > I didn?t use a full structure thought(just a callbackParam), because > the app is responsible for unregisterResource and know when to delete its > context. O

[dev] OCCreateResource entity handler

2015-05-07 Thread Schulhof, Gabriel
Hi! Would it be possible to modify the signature for OCCreateResource and OCEntityHandler such that it works the same way as OCDoResource - i.e. OCCreateResource accepts a structure similar to OCCallbackData (maybe OCResourceCallbackData or something) which contains a callback, a context, and a de

[dev] OCCreateResource entity handler

2015-05-06 Thread Lenahan, Charlie
I have a similar change that was for our objective-c/darwin/ios branch. I didn?t use a full structure thought(just a callbackParam), because the app is responsible for unregisterResource and know when to delete its context. If it?s blocking you I can try pushing that change. On 5/6/15, 7:02 PM