Skip to main content

render

Function render 

Source
pub fn render(plugin_name: &str, decls: &[&str]) -> String
Expand description

Renders an include from a name and declarations, no server involved.

The counterpart of compare_with for generating rather than checking: a plugin can write its .inc from a test, instead of starting a server with SAMP_PAWN_INCLUDE set.