public Int32 MatchDemandOffer(StringRef[] demand_props, uint demand_props_count, StringRef demand_constraints, StringRef[] offer_props, uint offer_props_count, StringRef offer_constraints) { return(match_demand_offer(demand_props, demand_props_count, demand_constraints, offer_props, offer_props_count, offer_constraints)); }
private StringRefArray PackStringArray(String[] strs) { var refs = new StringRef[strs.Length]; var handles = new IntPtr[strs.Length]; for (int i = 0; i < refs.Length; i++) { refs[i] = PackString(strs[i]); } return(new StringRefArray() { Refs = refs, Length = (uint)strs.Length }); }
public Int32 ResolveExpression(StringRef expression, StringRef[] props, uint props_count) { return(resolve_expression(expression, props, props_count)); }
private static extern Int32 resolve_expression(StringRef expression, StringRef[] props, uint props_count);
private static extern Int32 match_demand_offer(StringRef[] demand_props, uint demand_props_count, StringRef demand_constraints, StringRef[] offer_props, uint offer_props_count, StringRef offer_constraints);