sciwrap.cpp

来自「C语言编程中算法数据结构中的树行代码」· C++ 代码 · 共 40 行

CPP
40
字号
/******************************************************************************
*
*
* Notepad2
*
* SciWrap.cpp
*   C-Wrapper around Scintilla C++ functions
*
* See Readme.txt for more information about this source code.
* Please send me your comments to this work.
*
* See License.txt for details about distribution and modification.
*
*                                              (c) Florian Balmer 1996-2008
*                                                  florian.balmer@gmail.com
*                                               http://www.flos-freeware.ch
*
*
******************************************************************************/
#include <windows.h>
#define PLAT_WIN 1
#include "scintilla.h"


bool Scintilla_RegisterClasses(void *hInstance);
bool Scintilla_ReleaseResources();


extern "C" int SciWrap_RegisterClasses(HINSTANCE hInstance) {
  return (int)Scintilla_RegisterClasses(hInstance);
}


extern "C" int SciWrap_ReleaseResources() {
  return (int)Scintilla_ReleaseResources();
}


// End of SciWrap.cpp

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?