[Pyrex] error: conversion to non-scalar type requested
Greg Ewing
greg.ewing at canterbury.ac.nz
Fri Apr 11 07:40:07 CEST 2008
Daniele Pianu wrote:
> tmp = <in_addr>tmpinPtr[0]
>
> error: conversion to non-scalar type requested
You could try
tmp = (<in_addr *>tmpinPtr)[0]
--
Greg
More information about the Pyrex
mailing list