Skip to content

Instantly share code, notes, and snippets.

@xyzzy-17-638
Created March 2, 2012 23:31
Show Gist options
  • Save xyzzy-17-638/1962369 to your computer and use it in GitHub Desktop.
Save xyzzy-17-638/1962369 to your computer and use it in GitHub Desktop.
lispビルトイン関数 : output-debug-string()
lisp
Fsi_output_debug_string (lisp string)
{
if(stringp(string))
{
char srcPath[MAX_PATH+1];
w2s(srcPath, xstring_contents(string), xstring_length(string));
strcat(srcPath, "\n");
OutputDebugStringA(srcPath);
}
return Qnil;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment