[svn-commits] dlee: trunk r402994 - in /trunk: ./ rest-api-templates/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Nov 21 16:36:30 CST 2013


Author: dlee
Date: Thu Nov 21 16:36:29 2013
New Revision: 402994

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=402994
Log:
ari: Fix #include to match generated headers for snakeCase resource files
........

Merged revisions 402993 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    trunk/   (props changed)
    trunk/rest-api-templates/ari_resource.c.mustache
    trunk/rest-api-templates/res_ari_resource.c.mustache

Propchange: trunk/
------------------------------------------------------------------------------
--- branch-12-merged (original)
+++ branch-12-merged Thu Nov 21 16:36:29 2013
@@ -1,1 +1,1 @@
-/branches/12:1-398558,398560-398577,398579-399305,399307-401390,401392-402981
+/branches/12:1-398558,398560-398577,398579-399305,399307-401390,401392-402993

Modified: trunk/rest-api-templates/ari_resource.c.mustache
URL: http://svnview.digium.com/svn/asterisk/trunk/rest-api-templates/ari_resource.c.mustache?view=diff&rev=402994&r1=402993&r2=402994
==============================================================================
--- trunk/rest-api-templates/ari_resource.c.mustache (original)
+++ trunk/rest-api-templates/ari_resource.c.mustache Thu Nov 21 16:36:29 2013
@@ -28,7 +28,7 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include "resource_{{name}}.h"
+#include "resource_{{c_name}}.h"
 
 {{#apis}}
 {{#operations}}

Modified: trunk/rest-api-templates/res_ari_resource.c.mustache
URL: http://svnview.digium.com/svn/asterisk/trunk/rest-api-templates/res_ari_resource.c.mustache?view=diff&rev=402994&r1=402993&r2=402994
==============================================================================
--- trunk/rest-api-templates/res_ari_resource.c.mustache (original)
+++ trunk/rest-api-templates/res_ari_resource.c.mustache Thu Nov 21 16:36:29 2013
@@ -49,7 +49,7 @@
 #include "asterisk/app.h"
 #include "asterisk/module.h"
 #include "asterisk/stasis_app.h"
-#include "ari/resource_{{name}}.h"
+#include "ari/resource_{{c_name}}.h"
 #if defined(AST_DEVMODE)
 #include "ari/ari_model_validators.h"
 #endif




More information about the svn-commits mailing list