Re: error: conversion to non-scalar type requested

"Daniele Pianu" <[email protected]>
Newsgroups gmane.comp.python.pyrex
Message-ID <[email protected]>
I've tried your fix now and all works well!!! :) Thanks for your help!!!!

2008/4/11, Greg Ewing <[email protected]>:
>
> Daniele Pianu wrote:
>
>  tmp = <in_addr>tmpinPtr[0]
> >
> > error: conversion to non-scalar type requested
> >
>
> You could try
>
>  tmp = (<in_addr *>tmpinPtr)[0]
>
> --
> Greg
>

_______________________________________________
Pyrex mailing list
[email protected]
http://lists.copyleft.no/mailman/listinfo/pyrex
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.