BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJLIB Reference

#include <types.h>

Data Fields

char * ptr
 
pj_ssize_t slen
 

Detailed Description

This type is used as replacement to legacy C string, and used throughout the library. By convention, the string is NOT null terminated.

This type is used as replacement to legacy C string, and used throughout the library.

Field Documentation

◆ ptr

char* pj_str_t::ptr

Buffer pointer, which is by convention NOT null terminated.

Referenced by pj_cstr(), pj_strbuf(), pj_strchr(), pj_strset(), pj_strset2(), and pj_strset3().

◆ slen

pj_ssize_t pj_str_t::slen

The length of the string.

Referenced by pj_cstr(), pj_strchr(), pj_strlen(), pj_strset(), pj_strset2(), and pj_strset3().


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

 


PJLIB Open Source, high performance, small footprint, and very very portable framework
Copyright (C) 2006-2009 Teluu Inc.