X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=filter.c;h=9c025710656dfa1fb064ced4d364c8acfee219b9;hb=17b6c75a899bb5fb2b8b841b60e3e9fb52ca3e30;hp=5075bd1ff38d7557a0179bcf0f1e0cf05d6db000;hpb=af1c793dfe27b622a48dd213c4d42bc012e81965;p=libsigrok.git diff --git a/filter.c b/filter.c index 5075bd1f..9c025710 100644 --- a/filter.c +++ b/filter.c @@ -1,7 +1,7 @@ /* * This file is part of the sigrok project. * - * Copyright (C) 2012 Bert Vermeulen + * Copyright (C) 2010-2012 Bert Vermeulen * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -73,9 +73,10 @@ * If something other than SR_OK is returned, the values of * out_unitsize, data_out, and length_out are undefined. */ -int sr_filter_probes(int in_unitsize, int out_unitsize, const int *probelist, - const unsigned char *data_in, uint64_t length_in, - char **data_out, uint64_t *length_out) +SR_API int sr_filter_probes(int in_unitsize, int out_unitsize, + const int *probelist, const unsigned char *data_in, + uint64_t length_in, char **data_out, + uint64_t *length_out) { unsigned int in_offset, out_offset; int num_enabled_probes, out_bit, i;