mu-scm: add full-message support (body/header)
Implement support for "header" and "body" procedures, with require loading the message file from disk, and create a foreign object for the message. We keep those alive in a vector, and hook up a finalizer. Update docs & tests as well.
This commit is contained in:
@ -25,8 +25,7 @@
|
||||
#include "mu-utils.hh"
|
||||
#include "config.h"
|
||||
|
||||
#include "mu-scm-contact.hh"
|
||||
#include "mu-scm-store.hh"
|
||||
#include "mu-scm-types.hh"
|
||||
|
||||
using namespace Mu;
|
||||
using namespace Mu::Scm;
|
||||
@ -62,6 +61,7 @@ init_module_mu(void* _data)
|
||||
{
|
||||
init_options(config->options);
|
||||
init_store(config->store);
|
||||
init_message();
|
||||
}
|
||||
|
||||
static const Result<std::string>
|
||||
|
||||
Reference in New Issue
Block a user