__builtin_va_arg (for pointer to pointer)

浪尽此生 提交于 2019-12-11 14:14:26

问题


I have a code which extracts the arguments of a method.

va_list argp2; 
va_start(argp2, sel);

NSURLResponse* obj = va_arg(*argp2,NSURLResponse**);

the argp2 contains the arguments for the method [NSURLConnection sendSynchronousRequest:urlRequest returningResponse:&response error:&error]

I would like to convert argp2 to get a pointer to response and error objects.

Thanks

来源:https://stackoverflow.com/questions/23741425/builtin-va-arg-for-pointer-to-pointer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!