Re: Problem with cmods
Chris Angelico <[email protected]>
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <CAPTjJmp_9VCy4e+jHJO7P_makMQbwgh4wpi8=8p__m8fUt4PuQ@mail.gmail.com> |
On Tue, Mar 25, 2014 at 7:32 PM, Chris Angelico <[email protected]> wrote: > I don't know about 7.6, as I build 8.0 from git, but it's probably the > same. Try using push_string(make_shared_string(s)) instead of > push_text(s); that's what I do. Your way looks better, but give both a > try. > By the way, you're welcome to borrow ideas from my code, or even rip off slabs of it, if you like; I don't promise that it's good code though, it's my first serious CMOD: https://github.com/Rosuav/pike-alsa ChrisA