Re: supplying constants in an extension module

2005-01-17 Thread Fredrik Lundh
Torsten Mohr wrote: > i write an extension module in C at the moment. > > I want to define some constants (integer mainly, > but maybe also some strings). > > How do i do that best within this extension module > in C? Do i supply them as RO attributes? > > What's the best way for it? reading the

supplying constants in an extension module

2005-01-17 Thread Torsten Mohr
Hi, i write an extension module in C at the moment. I want to define some constants (integer mainly, but maybe also some strings). How do i do that best within this extension module in C? Do i supply them as RO attributes? What's the best way for it? Thanks for hints, Torsten. -- http://ma