トップ 一覧 検索 ヘルプ RSS ログイン

helloshade_shade8sdkの変更点

+!グローバル関数のextern_cの廃止(2005/12/02追加)
+
+Windowsでは問題なかったのですが、OSXでのプラグインビルドでは
+ extern_c void STDCALL create_interface (...
+みたいに「extern_c」を使うとコンパイルエラーになりました。
+ extern "C" void STDCALL create_interface (...
+と書かないといけないようです。
+
- //  2003.08.30 - 2004.11.24                                 //
+ //  2003.08.30 - 2005.12.02                                 //
- extern_c void STDCALL create_interface (const IID &iid, int i,
+ extern "C" void STDCALL create_interface (const IID &iid, int i,
- extern_c int STDCALL has_interface (const IID &iid, shade_interface *shade) {
+ extern "C" int STDCALL has_interface (const IID &iid, shade_interface *shade) {
- extern_c const char * STDCALL get_name (const IID &iid, int i, shade_interface *shade, void *) {
+ extern "C" const char * STDCALL get_name (const IID &iid, int i, shade_interface *shade, void *) {
- extern_c int STDCALL get_interface_version (void *) {
+ extern "C" int STDCALL get_interface_version (void *) {
- extern_c uuid_class STDCALL get_uuid (const IID &iid, int i, void *) {
+ extern "C" uuid_class STDCALL get_uuid (const IID &iid, int i, void *) {
- extern_c bool STDCALL is_resident (const IID &iid, int i, void *) {
+ extern "C" bool STDCALL is_resident (const IID &iid, int i, void *) {
- extern_c void STDCALL get_info (shade_plugin_info &info, shade_interface *shade, void *) {
+ extern "C" void STDCALL get_info (shade_plugin_info &info, shade_interface *shade, void *) {
- extern_c bool STDCALL has_separate_interfaces ( void * ) {
+ extern "C" bool STDCALL has_separate_interfaces ( void * ) {
- extern_c int STDCALL get_text_encoding (shade_interface *shade, void *) {
+ extern "C" int STDCALL get_text_encoding (shade_interface *shade, void *) {