Manuel Jacob avatar Manuel Jacob committed 90da3f7

Remove RPyFetchException() from rpython/translator/c/src/exception.*. Doesn't seem to be used anywhere.

Comments (0)

Files changed (2)

rpython/translator/c/src/exception.c

 /* Hint: functions and macros not defined here, like RPyRaiseException,
    come from exctransformer via the table in extfunc.py. */
 
-#define RPyFetchException(etypevar, evaluevar, type_of_evaluevar) do {  \
-		etypevar = RPyFetchExceptionType();			\
-		evaluevar = (type_of_evaluevar)RPyFetchExceptionValue(); \
-		RPyClearException();					\
-	} while (0)
-
-/* implementations */
-
 void _RPyRaiseSimpleException(RPYTHON_EXCEPTION rexc)
 {
 	/* XXX msg is ignored */

rpython/translator/c/src/exception.h

 /* Hint: functions and macros not defined here, like RPyRaiseException,
    come from exctransformer via the table in extfunc.py. */
 
-#define RPyFetchException(etypevar, evaluevar, type_of_evaluevar) do {  \
-		etypevar = RPyFetchExceptionType();			\
-		evaluevar = (type_of_evaluevar)RPyFetchExceptionValue(); \
-		RPyClearException();					\
-	} while (0)
-
-/* prototypes */
-
 #define RPyRaiseSimpleException(exc, msg)   _RPyRaiseSimpleException(R##exc)
 void _RPyRaiseSimpleException(RPYTHON_EXCEPTION rexc);
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.