X-Git-Url: http://git.maemo.org/git/?p=opencv;a=blobdiff_plain;f=interfaces%2Fch%2Fc%2Fhandmade%2Fhighgui%2Fset_preprocess_chdl.c;fp=interfaces%2Fch%2Fc%2Fhandmade%2Fhighgui%2Fset_preprocess_chdl.c;h=0000000000000000000000000000000000000000;hp=7df992d84c82cd3046a4ff5e015ca2d80836b157;hb=e4c14cdbdf2fe805e79cd96ded236f57e7b89060;hpb=454138ff8a20f6edb9b65a910101403d8b520643 diff --git a/interfaces/ch/c/handmade/highgui/set_preprocess_chdl.c b/interfaces/ch/c/handmade/highgui/set_preprocess_chdl.c deleted file mode 100644 index 7df992d..0000000 --- a/interfaces/ch/c/handmade/highgui/set_preprocess_chdl.c +++ /dev/null @@ -1,29 +0,0 @@ -/* Copyright (c) 2001-2002 by SoftIntegration, Inc. All Rights Reserved */ -#include -#include -#include -#include - -static ChInterp_t interp; -static void set_preprocess_chdl_funarg(HWND arg1, UINT arg2, WPARAM arg3, LPARAM arg4, int* arg5); -static void *set_preprocess_chdl_funptr; - -EXPORTCH void cvSetPreprocessFuncWin32_chdl(void *varg) { - va_list ap; - CvWin32WindowCallback on_preprocess_ch, on_preprocess_c; - - Ch_VaStart(interp, ap, varg); - on_preprocess_ch = Ch_VaArg(interp, ap, CvWin32WindowCallback); - set_preprocess_chdl_funptr = (void *)on_preprocess_ch; - if (on_preprocess_ch != NULL) { - on_preprocess_c = (CvWin32WindowCallback) set_preprocess_chdl_funarg; - } - cvSetPreprocessFuncWin32(on_preprocess_c); - - Ch_VaEnd(interp, ap); -} - -static void set_preprocess_chdl_funarg(HWND arg1, UINT arg2, WPARAM arg3, LPARAM arg4, int* arg5) { - Ch_CallFuncByAddr(interp,set_preprocess_chdl_funptr,NULL,arg1,arg2,arg3,arg4,arg5); -} -