Add handcode mode to rsg_generator.

bug 13170046

Change-Id: I25050a3c4c9b77727eb717d4b9c44bf85f505873
diff --git a/rsg_generator.c b/rsg_generator.c
index fd531b6..bbaaeb4 100644
--- a/rsg_generator.c
+++ b/rsg_generator.c
@@ -226,6 +226,21 @@
                 fprintf(f, "%s", vt->name);
             }
             fprintf(f, ");\n");
+        } else if (api->handcodeApi) {
+            // handle handcode path
+            fprintf(f, "    LF_%s_handcode(", api->name);
+            if (!api->nocontext) {
+                fprintf(f, "(Context *)rsc");
+            }
+            for (ct2=0; ct2 < api->paramCount; ct2++) {
+                const VarType *vt = &api->params[ct2];
+                if (ct2 > 0 || !api->nocontext) {
+                    fprintf(f, ", ");
+                }
+                fprintf(f, "%s", vt->name);
+            }
+            fprintf(f, ");\n");
+
         } else {
             // handle synchronous path
             fprintf(f, "    if (((Context *)rsc)->isSynchronous()) {\n");