source: branches/reyalp-flt/core/raw_merge.h @ 1467

Revision 1467, 693 bytes checked in by reyalp, 19 months ago (diff)

apply 1459_elf3.patch from tsvstar in http://chdk.setepontos.com/index.php?topic=847.msg77723#msg77723
workaround in kbd.c for trunk changesets 1461 and 1464
set eol-style props

  • Property svn:eol-style set to native
RevLine 
[515]1#ifndef RAW_MERGE_H
2#define RAW_MERGE_H
3
[594]4#define RAW_OPERATION_SUM 0
5#define RAW_OPERATION_AVERAGE 1
[515]6
[1467]7
8struct librawop_sym{
9        int (*raw_merge_start)(int action);
10        void (*raw_merge_add_file)(const char * filename);
11        void (*raw_merge_end)(void);
12        int (*raw_subtract)(const char *from, const char *sub, const char *dest);
13};
14
15// Defines of exported to chdk symbols
16#ifdef THIS_IS_CHDK_CORE
17        // This section is for CHDK core
18
19        extern struct librawop_sym librawop;
20
21#else
22        // This section is for module
23
[515]24int raw_merge_start(int action);
[594]25void raw_merge_add_file(const char * filename);
[515]26void raw_merge_end(void);
27int raw_subtract(const char *from, const char *sub, const char *dest);
28#endif
[1467]29
30#endif
Note: See TracBrowser for help on using the repository browser.