X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=exception.c;h=1ce66a875db44b23f4024545defe5bf8f08ac054;hp=de31c5fa37f67fb5856b4303af1cd1c1db494214;hb=3abc83b996547a69bad906ec748f30874aae4796;hpb=361fdcaafec8ddd37f0d381204e4c2a22c56b238 diff --git a/exception.c b/exception.c index de31c5f..1ce66a8 100644 --- a/exception.c +++ b/exception.c @@ -1,5 +1,5 @@ /* - * This file is part of the sigrok project. + * This file is part of the libsigrokdecode project. * * Copyright (C) 2012 Bert Vermeulen * @@ -17,14 +17,15 @@ * along with this program. If not, see . */ -#include "sigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */ -#include "sigrokdecode-internal.h" +#include "libsigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */ +#include "libsigrokdecode-internal.h" #include "config.h" #include #include #include /* Python header not pulled in by default. */ -SRD_PRIV void catch_exception(const char *format, ...) +/** @private */ +SRD_PRIV void srd_exception_catch(const char *format, ...) { PyObject *etype, *evalue, *etb, *py_str; PyTracebackObject *py_tb;