src/properties.c

changeset 929
192a440b99df
parent 928
d2d42cb1d59e
equal deleted inserted replaced
928:d2d42cb1d59e 929:192a440b99df
129 void cxPropertiesUseStack( 129 void cxPropertiesUseStack(
130 CxProperties *prop, 130 CxProperties *prop,
131 char *buf, 131 char *buf,
132 size_t capacity 132 size_t capacity
133 ) { 133 ) {
134 assert(buf == NULL); 134 assert(prop->buf == NULL);
135 prop->buf = buf; 135 prop->buf = buf;
136 prop->buf_capacity = capacity; 136 prop->buf_capacity = capacity;
137 prop->buf_size = 0; 137 prop->buf_size = 0;
138 prop->flags |= CX_PROPERTIES_FLAG_USE_STACK; 138 prop->flags |= CX_PROPERTIES_FLAG_USE_STACK;
139 } 139 }

mercurial