Re: how to specify namespace in perlxs

2005-09-07 Thread John Peacock

Dongxu Ma wrote:
Does any one know why I can't add 'using namespace brabra;' in .xs file? The 
xsubpp can't recognize while generating the .c file.


Because

use namespace brabra;

is a Perl pragma, not C/XS.  What are you trying to do?

John

--
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748


how to specify namespace in perlxs

2005-09-07 Thread Dongxu Ma
Hi all,

Does any one know why I can't add 'using namespace brabra;' in .xs file? The 
xsubpp can't recognize while generating the .c file.

-- 
Bst Rgrs, Dongxu