]> granicus.if.org Git - yasm/commitdiff
Add directive() and yasm_objfmt * parameter to initialize().
authorPeter Johnson <peter@tortall.net>
Tue, 18 Mar 2003 05:51:26 +0000 (05:51 -0000)
committerPeter Johnson <peter@tortall.net>
Tue, 18 Mar 2003 05:51:26 +0000 (05:51 -0000)
svn path=/trunk/yasm/; revision=878

libyasm/dbgfmt.h
modules/dbgfmts/null/null-dbgfmt.c

index d3467689e5fbf588f8c6149176126424ec51acff..14db4b87b8a021a3bc8a349800aef9f267ab05e3 100644 (file)
@@ -39,12 +39,16 @@ struct yasm_dbgfmt {
      * format functions.  The filenames are provided solely for informational
      * purposes.  May be NULL if not needed by the debug format.
      */
-    void (*initialize) (const char *in_filename, const char *obj_filename);
+    void (*initialize) (const char *in_filename, const char *obj_filename,
+                       yasm_objfmt *of);
 
     /* Cleans up anything allocated by initialize.
      * May be NULL if not needed by the debug format.
      */
     void (*cleanup) (void);
+
+    /* DEBUG directive support. */
+    void (*directive) (yasm_valparamhead *valparams, unsigned long lindex);
 };
 
 #endif
index 195e27950de66549957ab474cf03666a18993a8f..c3e875edc3798b55265a44885ba4a7c6cb8110b3 100644 (file)
@@ -34,5 +34,6 @@ yasm_dbgfmt yasm_null_LTX_dbgfmt = {
     "No debugging info",
     "null",
     NULL,   /*null_dbgfmt_initialize*/
-    NULL    /*null_dbgfmt_cleanup*/
+    NULL,   /*null_dbgfmt_cleanup*/
+    NULL    /*null_dbgfmt_directive*/
 };