ETrobocon2017 - 片山研究所モデルベース開発推進事業部
libcpp-test.h
[詳解]
1 #pragma once
2 
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6 
7 extern void libcpp_test_c_echo_function(int val);
8 
9 extern void libcpp_test_cpp_echo_function(int val);
10 
11 #ifdef __cplusplus
12 }
13 #endif
14 
15 #ifdef __cplusplus
16 class LibSampleClass {
17 public:
18  LibSampleClass();
19 
20  void draw();
21 private:
22  int member;
23 };
24 #endif
void libcpp_test_c_echo_function(int val)
Definition: c-souce-file-1.c:3
void libcpp_test_cpp_echo_function(int val)