The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
292 B
19 lines
292 B
1 year ago
|
// SPDX-License-Identifier: Apache-2.0
|
||
|
// Copyright © 2023 Intel Corporation
|
||
|
|
||
|
#include "lib.hpp"
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
namespace {
|
||
|
|
||
|
uint64_t priv_length(const std::string & str) {
|
||
|
return str.length();
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
extern "C" uint64_t lib_length(const char * str) {
|
||
|
return priv_length(str);
|
||
|
}
|