This function coerces an R list to the named C type. This helps form the basis of the transparent type system.