push_string

[ Start > PikeDevel > C Modules > push_string ] [ Edit this Page | Show Page Versions | Show Formatted ]


__NAME__

        push_string - push a string on the pike stack

__SYNTAX__

        #include "interpret.h"

        void push_string(struct pike_string *p)

__DESCRIPTION__

        This function pushes the string p on the pike stack. Note that this
        function does _not_ add any extra references to 'p'. Most functions
        that create shared strings give one extra reference to them though.
        If you get your string from a function that does not add extra  
        references you will have to add a reference manually.

__NOTA BENE__

        push_string is actually a macro

__KEYWORDS__

        pike_string

Powered by PikeWiki2

 
gotpike.org | Copyright © 2004 - 2009 | Pike is a trademark of Department of Computer and Information Science, Linköping University