tahoma2d/toonz/sources/toonzlib/sandor_fxs/calligraph.h
Campbell Barton b3bd842e04 Make functions static, ensure declarations match headers (#610)
This patch used -Wmissing-declarations warning
to show functions and symbols that had no declarations, and either:

- Make static
- Add to header

This helps avoid possability that declarations and functions get out of sync.
And ensures all source files reference headers correctly.

It also makes sure functions defined with extern "C",
have this defined in the header. An error found in calligraph.h while writing this patch.

This has been applied to toonzlib, to avoid making very large global changes.
If accepted, -Wmissing-declarations warning could be added to CMake.
2016-07-13 21:05:06 +09:00

17 lines
288 B
C

#pragma once
#ifndef __CALLIGRAPH_H_
#define __CALLIGRAPH_H_
#ifdef __cplusplus
extern "C" {
#endif
int calligraph(const RASTER *inr, RASTER *outr, const int border, int argc,
const char *argv[], const int shrink, bool isOutBorder);
#ifdef __cplusplus
}
#endif
#endif