PSTRING Struct Reference

string type used in htmltmplpro. More...

#include <pstring.h>

List of all members.

Public Attributes

const char * begin
const char * endnext


Detailed Description

string type used in htmltmplpro.

    typedef struct PSTRING {
      const char* begin;
      const char* endnext;
    } PSTRING;

The string is delimited by two pointers, begin and endnext. The length of the string is calculated as endnext - begin. The empty string has begin == endnext.

Warning:
It is possible for empty string to have begin == endnext == NULL.

Contents of the memory area, passed as PSTRING, should always be treated as const.

Contents of the memory area, passed as PSTRING, can be destroyed after the callback function completed. To be used afterwards the string content should be copied.


Member Data Documentation

const char* PSTRING::begin

pointer to begin of the string.

const char* PSTRING::endnext

pointer to the byte next to the last char of the string.


The documentation for this struct was generated from the following file:

Generated on Fri Mar 26 22:02:21 2010 for htmltmplpro by  doxygen 1.5.9