Allow extraction of Object LiBraries too.

Eliminate terminating 0 byte in macro buffers.
This commit is contained in:
Olaf Seibert
2015-05-24 17:37:08 +02:00
parent da068e07c8
commit bbaf56206e
4 changed files with 30 additions and 33 deletions

4
mlb.h
View File

@@ -50,10 +50,12 @@ typedef struct mlb {
FILE *fp;
MLBENT *directory;
int nentries;
int is_objlib; /* is really an object library */
} MLB;
extern MLB *mlb_open(
char *name);
char *name,
int allow_object_library);
extern BUFFER *mlb_entry(
MLB *mlb,
char *name);