Develop and Download Open Source Software

Browse CVS Repository

Diff of /shiki/shiki/xyzzylisp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.4 by aloha, Sat Nov 25 14:28:17 2006 UTC revision 1.5 by aloha, Sun Nov 26 00:41:57 2006 UTC
# Line 6  Line 6 
6  #define SCM_CGEN_CONST const  #define SCM_CGEN_CONST const
7  #endif  #endif
8  #include "shiki.h"  #include "shiki.h"
9    static ScmObj xyzzylisp_selected_buffer(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
10    {
11      SCM_ENTER_SUBR("selected-buffer");
12      {
13    {
14    GtkTextBuffer* SCM_RESULT;
15      g_object_ref(Shiki_CURRENT_TEXT_BUFFER);
16      SCM_RESULT = Shiki_CURRENT_TEXT_BUFFER;
17    SCM_RETURN(SHIKI_BUFFER_BOX(SCM_RESULT));
18    }
19      }
20    }
21    
22    static SCM_DEFINE_STRING_CONST(xyzzylisp_selected_buffer__NAME, "selected-buffer", 15, 15);
23    static SCM_DEFINE_SUBR(xyzzylisp_selected_buffer__STUB, 0, 0, SCM_OBJ(&xyzzylisp_selected_buffer__NAME), xyzzylisp_selected_buffer, NULL, NULL);
24    
25  static ScmObj xyzzylisp_buffer_substring(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)  static ScmObj xyzzylisp_buffer_substring(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
26  {  {
27    ScmObj start_scm;    ScmObj start_scm;
# Line 210  static SCM_DEFINE_SUBR(xyzzylisp_goto_eo Line 226  static SCM_DEFINE_SUBR(xyzzylisp_goto_eo
226  void Scm_Init_xyzzylisp(ScmModule *module)  void Scm_Init_xyzzylisp(ScmModule *module)
227  {  {
228    
229      SCM_DEFINE(module, "selected-buffer", SCM_OBJ(&xyzzylisp_selected_buffer__STUB));
230    SCM_DEFINE(module, "buffer-substring", SCM_OBJ(&xyzzylisp_buffer_substring__STUB));    SCM_DEFINE(module, "buffer-substring", SCM_OBJ(&xyzzylisp_buffer_substring__STUB));
231    SCM_DEFINE(module, "delete-region", SCM_OBJ(&xyzzylisp_delete_region__STUB));    SCM_DEFINE(module, "delete-region", SCM_OBJ(&xyzzylisp_delete_region__STUB));
232    SCM_DEFINE(module, "insert", SCM_OBJ(&xyzzylisp_insert__STUB));    SCM_DEFINE(module, "insert", SCM_OBJ(&xyzzylisp_insert__STUB));

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26