Whenever a magistrate is informed upon oath that an offense is about to be committed against the person or property of the informant, or of another, or that any person has threatened to commit an offense, the magistrate shall immediately issue a warrant for the arrest of the accused; that he may be brought before such magistrate or before some other named in the warrant.
Tex. Code Crim. Proc. § 7.01