lib: rename java_string to javacompat

BodgeMaster-unfinished
Milan Suman 2022-07-20 08:44:56 +05:30
parent c1b6c3005f
commit 0462756451
4 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ echo "Building tests..."
COMPILE_COMMANDS=( COMPILE_COMMANDS=(
"$CXX_WITH_FLAGS src/test/nbt_helpers.cpp -Lbin/lib -l:nbt.so -o bin/test/nbt_helpers" "$CXX_WITH_FLAGS src/test/nbt_helpers.cpp -Lbin/lib -l:nbt.so -o bin/test/nbt_helpers"
"$CXX_WITH_FLAGS src/test/cli_argument_parser.cpp -Lbin/lib -l:cli.so -o bin/test/cli_argument_parser" "$CXX_WITH_FLAGS src/test/cli_argument_parser.cpp -Lbin/lib -l:cli.so -o bin/test/cli_argument_parser"
"$CXX_WITH_FLAGS src/test/java_string.cpp -Idependencies/tiny-utf8-4.4.3/include -Lbin/lib -l:java_string.so -o bin/test/java_string" "$CXX_WITH_FLAGS src/test/javacompat.cpp -Idependencies/tiny-utf8-4.4.3/include -Lbin/lib -l:javacompat.so -o bin/test/javacompat"
) )
for command in ${!COMPILE_COMMANDS[@]}; do for command in ${!COMPILE_COMMANDS[@]}; do
echo "${COMPILE_COMMANDS[command]}" echo "${COMPILE_COMMANDS[command]}"

View File

@ -17,7 +17,7 @@
#include <string> #include <string>
#include "error.h++" #include "error.h++"
#include "java_string.h++" #include "javacompat.h++"
namespace JavaCompat { namespace JavaCompat {
//FIXME: contrary to what I said, we need to explicitly pass the data //FIXME: contrary to what I said, we need to explicitly pass the data

View File

@ -14,7 +14,7 @@
// If not, see https://www.gnu.org/licenses/agpl-3.0.en.html // If not, see https://www.gnu.org/licenses/agpl-3.0.en.html
#include "assert.h++" #include "assert.h++"
#include "../lib/java_string.h++" #include "../lib/javacompat.h++"
#include <iostream> #include <iostream>
#include <tinyutf8/tinyutf8.h> #include <tinyutf8/tinyutf8.h>
#include <fstream> #include <fstream>