Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit87c9c25

Browse files
committed
Rearrange pseudotypes.c to get rid of duplicative code.
Commita5954de replaced a lot of manually-coded stub I/O routineswith code generated by macros. That was a good idea but it didn'tgo far enough, because there were still manually-coded stub inputroutines for types that had live output routines. Refactor themacro so that we can generate just a stub input routine at need.Also create similar macros to generate stub binary I/O routines,since we have some of those now. The only stub functions that remainhand-coded are shell_in() and shell_out(), which need to be separatebecause they use different error messages.While here, rearrange the commentary to discuss each type not eachfunction. This provides a better way to explain the *why* of whichtypes need which support, rather than just duplicatively annotatingthe functions.Discussion:https://postgr.es/m/24137.1584139352@sss.pgh.pa.us
1 parent4dbcb3f commit87c9c25

File tree

1 file changed

+123
-225
lines changed

1 file changed

+123
-225
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp