forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3b93fba
committed
Remove plpython casts C source code casts:
It removes last remaining casts inside struct definitions.Such usage is bad practice, as it hides problems from compiler.Reason for the cast is popular practice in some circlesto define functions as foo(MyObj *) instead of foo(PyObject *)thus avoiding a local variable inside functions and makedirect calling easier. As pl/python does not use such style,the casts were unnecessary from the start.Marko Kreen1 parent8f296eb commit3b93fba
1 file changed
+5
-5
lines changedLines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
| 4 | + | |
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| |||
1994 | 1994 |
| |
1995 | 1995 |
| |
1996 | 1996 |
| |
1997 |
| - | |
| 1997 | + | |
1998 | 1998 |
| |
1999 |
| - | |
| 1999 | + | |
2000 | 2000 |
| |
2001 | 2001 |
| |
2002 | 2002 |
| |
| |||
2038 | 2038 |
| |
2039 | 2039 |
| |
2040 | 2040 |
| |
2041 |
| - | |
| 2041 | + | |
2042 | 2042 |
| |
2043 |
| - | |
| 2043 | + | |
2044 | 2044 |
| |
2045 | 2045 |
| |
2046 | 2046 |
| |
|
0 commit comments
Comments
(0)