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

Commitb3c6d55

Browse files
df7cbmsdemlei
authored andcommitted
Rename internal function moc_round to moc_degrade for consistency
1 parent91612c5 commitb3c6d55

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎moc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ smoc_degrade(PG_FUNCTION_ARGS)
944944

945945
check_order(order);
946946

947-
moc_round(moc_in_context,order,moc_a,VARSIZE(moc_a)-VARHDRSZ,moc_error_out);
947+
moc_degrade(moc_in_context,order,moc_a,VARSIZE(moc_a)-VARHDRSZ,moc_error_out);
948948

949949
moc_size=VARHDRSZ+get_moc_size(moc_in_context,moc_error_out);
950950
/* palloc() will leak the moc_in_context if it fails :-/ */

‎pgs_process_moc.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ moc_intersection(void* moc_in_context, Smoc* moc_a, int32 moc_a_end, Smoc* moc_b
150150
pgs_error_handlererror_out);
151151

152152
void
153-
moc_round(void*moc_in_context,intorder,Smoc*moc_a,int32moc_a_end,
153+
moc_degrade(void*moc_in_context,intorder,Smoc*moc_a,int32moc_a_end,
154154
pgs_error_handlererror_out);
155155

156156
void

‎process_moc.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,7 @@ moc_intersection(void* moc_in_context, Smoc* moc_a, int32 moc_a_end, Smoc* moc_b
948948
}
949949

950950
void
951-
moc_round(void* moc_in_context,int order, Smoc* moc_a, int32 moc_a_end,
951+
moc_degrade(void* moc_in_context,int order, Smoc* moc_a, int32 moc_a_end,
952952
pgs_error_handler error_out)
953953
{
954954
moc_input* p =static_cast<moc_input*>(moc_in_context);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp