Пример #1
0
EXPORT int64 WJEInt64F(WJElement container, WJEAction action, WJElement *last, int64 value, const char *pathf, ...)
{
	int64		ret;
	va_list		args;
	char		*path;
	char		buffer[1024];

	va_start(args, pathf);

	path = buffer;
	path = WJEPathF(buffer, sizeof(buffer), pathf, args);

	va_end(args);

	ret = __WJEInt64(container, path, action, last, value, __FILE__, __LINE__);

	if (path != buffer) {
		MemRelease(&path);
	}

	return(ret);
}
Пример #2
0
EXPORT WJElement WJEGetF(WJElement container, WJElement last, const char *pathf, ...)
{
	WJElement	ret;
	va_list		args;
	char		*path;
	char		buffer[1024];

	va_start(args, pathf);

	path = buffer;
	path = WJEPathF(buffer, sizeof(buffer), pathf, args);

	va_end(args);

	ret = _WJEGet(container, path, last, __FILE__, __LINE__);

	if (path != buffer) {
		MemRelease(&path);
	}

	return(ret);
}
Пример #3
0
EXPORT char * WJEStringNF(WJElement container, WJEAction action, WJElement *last, const char *value, size_t len, const char *pathf, ...)
{
	char *		ret;
	va_list		args;
	char		*path;
	char		buffer[1024];

	va_start(args, pathf);

	path = buffer;
	path = WJEPathF(buffer, sizeof(buffer), pathf, args);

	va_end(args);

	ret = __WJEStringN(container, path, action, last, value, len, __FILE__, __LINE__);

	if (path != buffer) {
		MemRelease(&path);
	}

	return(ret);
}
Пример #4
0
EXPORT double WJEDoubleF(WJElement container, WJEAction action, WJElement *last, double value, const char *pathf, ...)
{
	double		ret;
	va_list		args;
	size_t		needed;
	char		*path;
	char		buffer[1024];

	va_start(args, pathf);

	path = buffer;
	path = WJEPathF(buffer, sizeof(buffer), pathf, args);

	va_end(args);

	ret = __WJEDouble(container, path, action, last, value, __FILE__, __LINE__);

	if (path != buffer) {
		MemRelease(&path);
	}

	return(ret);
}