Files
AnyPS5/core/libs/prx/libSceLibcInternal/ConstantMembers.cpp
T
B-HowellandClaude Opus 5.5 9cd64b09c8 feat(libSceLibcInternal): implement the error category names and codecvt_base queries
Return "system", "generic", "iostream" and "future" from the name()
members of the four error categories, as ISO C++ fixes them, and 1 from
codecvt_base::do_max_length and do_encoding, as the Dinkumware <xlocale>
and libc's codecvt facet do.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 00:46:45 -05:00

38 lines
1.3 KiB
C++

#include "prx/libSceLibcInternal/include/Api.hpp"
#include "prx/libc/include/General.hpp"
#include "SceTypes.hpp"
extern "C" {
const char* APS5_VABI sceLibcInternalSystemErrorCategoryName_nid_no_patch(const void*) noexcept {
return "system";
}
APS5_EXPORT("dXy+lFOiaQA", sceLibcInternalSystemErrorCategoryName_nid_no_patch);
const char* APS5_VABI sceLibcInternalGenericErrorCategoryName_nid_no_patch(const void*) noexcept {
return "generic";
}
APS5_EXPORT("xvVR0CBPFAM", sceLibcInternalGenericErrorCategoryName_nid_no_patch);
const char* APS5_VABI sceLibcInternalIostreamErrorCategoryName_nid_no_patch(const void*) noexcept {
return "iostream";
}
APS5_EXPORT("sb2vivqtLS0", sceLibcInternalIostreamErrorCategoryName_nid_no_patch);
const char* APS5_VABI sceLibcInternalFutureErrorCategoryName_nid_no_patch(const void*) noexcept {
return "future";
}
APS5_EXPORT("Q0VsWTapQ4M", sceLibcInternalFutureErrorCategoryName_nid_no_patch);
int APS5_VABI sceLibcInternalCodecvtBaseMaxLength_nid_no_patch(const void*) noexcept {
return 1;
}
APS5_EXPORT("FOsY+JAyXow", sceLibcInternalCodecvtBaseMaxLength_nid_no_patch);
int APS5_VABI sceLibcInternalCodecvtBaseEncoding_nid_no_patch(const void*) noexcept {
return 1;
}
APS5_EXPORT("MwAySqTo+-M", sceLibcInternalCodecvtBaseEncoding_nid_no_patch);
}