Skip to content

Commit 19e18fe

Browse files
committed
Deprecate fcitx::getline
1 parent 2e818ff commit 19e18fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/fcitx-utils/misc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ inline auto makeUniqueCPtr(T *ptr) {
132132
return UniqueCPtr<T>(ptr);
133133
}
134134

135-
FCITXUTILS_EXPORT ssize_t getline(UniqueCPtr<char> &lineptr, size_t *n,
136-
std::FILE *stream);
135+
FCITXUTILS_DEPRECATED_EXPORT ssize_t getline(UniqueCPtr<char> &lineptr,
136+
size_t *n, std::FILE *stream);
137137

138138
/**
139139
* Util function to check whether fcitx is running in flatpak.

0 commit comments

Comments
 (0)