소스 검색

ENH: Fix compatibility

Andy Cedilnik 22 년 전
부모
커밋
e093bdade0
2개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      Source/cmCPluginAPI.cxx
  2. 3 2
      Source/cmCPluginAPI.h

+ 1 - 1
Source/cmCPluginAPI.cxx

@@ -556,7 +556,6 @@ cmCAPI cmStaticCAPI =
   cmFreeArguments,
   cmFreeArguments,
   cmSetClientData,
   cmSetClientData,
   cmSetError,
   cmSetError,
-  cmDisplayStatus,
   cmAddCacheDefinition,
   cmAddCacheDefinition,
   cmAddCustomCommand,
   cmAddCustomCommand,
   cmAddDefineFlag,
   cmAddDefineFlag,
@@ -606,5 +605,6 @@ cmCAPI cmStaticCAPI =
 
 
   cmAddCustomCommandToOutput,
   cmAddCustomCommandToOutput,
   cmAddCustomCommandToTarget,
   cmAddCustomCommandToTarget,
+  cmDisplayStatus,
 };
 };
 
 

+ 3 - 2
Source/cmCPluginAPI.h

@@ -57,8 +57,6 @@ typedef struct
   void  (*SetClientData) (void *info, void *cd);
   void  (*SetClientData) (void *info, void *cd);
   /* when an error occurs, call this function to set the error string */
   /* when an error occurs, call this function to set the error string */
   void  (*SetError) (void *info, const char *err);
   void  (*SetError) (void *info, const char *err);
-  /* display status information */
-  void  (*DisplaySatus) (void *info, const char *message);
   
   
   /*=========================================================================
   /*=========================================================================
   The following functions all directly map to methods in the cmMakefile
   The following functions all directly map to methods in the cmMakefile
@@ -160,6 +158,9 @@ typedef struct
                                      int numArgs, const char **args,
                                      int numArgs, const char **args,
                                      int commandType);
                                      int commandType);
   
   
+  /* display status information */
+  void  (*DisplaySatus) (void *info, const char *message);
+
   /* this is the end of the C function stub API structure */ 
   /* this is the end of the C function stub API structure */ 
 } cmCAPI;
 } cmCAPI;