本文整理汇总了C++中LOG_API函数的典型用法代码示例。如果您正苦于以下问题:C++ LOG_API函数的具体用法?C++ LOG_API怎么用?C++ LOG_API使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了LOG_API函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: chewing_cand_Enumerate
CHEWING_API void chewing_cand_Enumerate(ChewingContext *ctx)
{
ChewingData *pgdata;
if (!ctx) {
return;
}
pgdata = ctx->data;
LOG_API("");
ctx->cand_no = ctx->output->pci->pageNo * ctx->output->pci->nChoicePerPage;
}
示例2: chewing_cand_TotalChoice
CHEWING_API int chewing_cand_TotalChoice(const ChewingContext *ctx)
{
const ChewingData *pgdata;
if (!ctx) {
return -1;
}
pgdata = ctx->data;
LOG_API("");
return (ctx->output->pci ? ctx->output->pci->nTotalChoice : 0);
}
示例3: chewing_cand_CurrentPage
CHEWING_API int chewing_cand_CurrentPage(const ChewingContext *ctx)
{
const ChewingData *pgdata;
if (!ctx) {
return -1;
}
pgdata = ctx->data;
LOG_API("");
return (ctx->output->pci ? ctx->output->pci->pageNo : -1);
}
示例4: chewing_cand_CheckDone
CHEWING_API int chewing_cand_CheckDone(const ChewingContext *ctx)
{
const ChewingData *pgdata;
if (!ctx) {
return -1;
}
pgdata = ctx->data;
LOG_API("");
return (!ctx->output->pci);
}
示例5: chewing_cursor_Current
CHEWING_API int chewing_cursor_Current(const ChewingContext *ctx)
{
const ChewingData *pgdata;
if (!ctx) {
return -1;
}
pgdata = ctx->data;
LOG_API("");
return (ctx->output->chiSymbolCursor);
}
示例6: chewing_bopomofo_Check
CHEWING_API int chewing_bopomofo_Check(const ChewingContext *ctx)
{
const ChewingData *pgdata;
if (!ctx) {
return -1;
}
pgdata = ctx->data;
LOG_API("");
return ctx->output->bopomofoBuf[0] != 0;
}
示例7: chewing_cand_hasNext
CHEWING_API int chewing_cand_hasNext(ChewingContext *ctx)
{
ChewingData *pgdata;
if (!ctx) {
return -1;
}
pgdata = ctx->data;
LOG_API("");
return (ctx->cand_no < ctx->output->pci->nTotalChoice);
}
示例8: chewing_aux_Length
CHEWING_API int chewing_aux_Length(const ChewingContext *ctx)
{
const ChewingData *pgdata;
if (!ctx) {
return -1;
}
pgdata = ctx->data;
LOG_API("");
return (ctx->data->bShowMsg ? ctx->data->showMsgLen : 0);
}
示例9: strdup
CHEWING_API char *chewing_buffer_String(const ChewingContext *ctx)
{
const ChewingData *pgdata;
if (!ctx) {
return strdup("");
}
pgdata = ctx->data;
LOG_API("");
return strdup(ctx->output->preeditBuf);
}
示例10: LOG_API
CHEWING_API const char *chewing_aux_String_static(const ChewingContext *ctx)
{
const ChewingData *pgdata;
if (!ctx) {
return "";
}
pgdata = ctx->data;
LOG_API("");
return ctx->data->showMsg;
}
示例11: chewing_commit_Check
/**
* @param ctx handle to Chewing IM context
* @retval TRUE if it currnet input state is at the "end-of-a-char"
*/
CHEWING_API int chewing_commit_Check(const ChewingContext *ctx)
{
const ChewingData *pgdata;
if (!ctx) {
return -1;
}
pgdata = ctx->data;
LOG_API("");
return ! !(ctx->output->keystrokeRtn & KEYSTROKE_COMMIT);
}
示例12: chewing_aux_Check
CHEWING_API int chewing_aux_Check(const ChewingContext *ctx)
{
const ChewingData *pgdata;
if (!ctx) {
return -1;
}
pgdata = ctx->data;
LOG_API("");
return (ctx->data->bShowMsg);
}
示例13: chewing_interval_hasNext
CHEWING_API int chewing_interval_hasNext(ChewingContext *ctx)
{
ChewingData *pgdata;
if (!ctx) {
return -1;
}
pgdata = ctx->data;
LOG_API("");
return (ctx->it_no < ctx->output->nDispInterval);
}
示例14: chewing_interval_Enumerate
CHEWING_API void chewing_interval_Enumerate(ChewingContext *ctx)
{
ChewingData *pgdata;
if (!ctx) {
return;
}
pgdata = ctx->data;
LOG_API("");
ctx->it_no = 0;
}
示例15: LOG_API
HRESULT HookIDirect3DDevice9::CreateVolumeTexture(LPVOID _this,
UINT Width,
UINT Height,
UINT Depth,
UINT Levels,
DWORD Usage,
D3DFORMAT Format,
D3DPOOL Pool,
IDirect3DVolumeTexture9** ppVolumeTexture,
HANDLE* pSharedHandle)
{
LOG_API();
return pD3Dev->CreateVolumeTexture(Width, Height, Depth, Levels, Usage, Format, Pool, ppVolumeTexture, pSharedHandle);
}