Files
tlibtoml/src/toml_parse/toml_parse_datetime.c

17 lines
525 B
C

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "toml_internal.h"
Result(void) toml_parse_datetime(str s, TomlValue* out_value)
{
Deferral(1);
(void)s;
//TODO: parse datetime
try_assert(false && "DateTime parsing is not implemented");
TomlValue value = TomlValue_new(TLIBTOML_DATETIME);
*out_value = value;
Return RESULT_VOID;
}