Hello, Does anyone know how to write a call to `pp_def' that somehow returns, or updates, scalar values ? I know that with `OtherPars' it is easy to specify that a scalar is to be passed as input. For output, do I have to somehow use the normal C api to perl to get at the contents of an SV?
For instance, I might want to take piddles and or scalars as input and have scalars and possibly piddle as output. A clumsy solution is to pass a piddle of length 1, where I really want a scalar, in the `Code' string, and then write a wrapper function in perl to extract the scalar from the auxiallry piddle. A related question: With `GenericTypes' and the template mechanism `$T( ...', I can automatically generate interfaces for several types of piddles. Is it possible to somehow use this template with `OtherPars' ? In particular, I want to define a function via pp_def that takes a piddle and a scalar as arguments. I want the two arguments to be of the same type. For example, both integers, both doubles, etc. Thank you! John _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
