torch/torch7 — pull request #19 by timharley (2014-03-21 11:25:53+00:00)
Title: Allow torch extensions to grab the raw pointer to the RNG. 

jucor/torch-randomkit needs the address of the default torch.Generator.

If this is unnecessary and there is actually a way of getting the raw pointer to a userdata object in pure lua, let me know!