Skip to main content

Name

ec_interpolate_calc_deps — Determine the requirements for a macro expansion

Synopsis

#include "misc/expand_string.h"

| int **ec_interpolate_calc_deps** ( | input, |   | |   | default_namespace, |   | |   | flags, |   | |   | reqs, |   | |   | typednames); |   |

const char * <var class="pdparam">input</var>; const char * <var class="pdparam">default_namespace</var>; int <var class="pdparam">flags</var>; int * <var class="pdparam">reqs</var>; ECDict <var class="pdparam">typednames</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

Determine the requirements for a macro expansion.

This function evaluates a string expansion and builds up a list of requirements or dependencies for the set of macros used in the string.

This is useful in situations where you are queuing jobs and need to copy or marshal the required pieces that would otherwise be discarded by a code path outside of your control.

Parameters

input

the string to be expanded

default_namespace

the allowed namespaces

flags

flags to control the interpolation style

reqs

populated with a bitfield of general requirements

typednames

if not NULL, will be populated with the type names that were requested from the bag in the interpolation context.

Was this page helpful?