appcelerator/hyperloop-common — pull request #7 by infosia (2014-06-02 09:32:23+00:00)
Title: Fix: isPrimitive to support type+precision types such as float64

typelib doesn't work with primitive types with precision such as float64.

```diff
-var isPrimitive = /^(const)?\s*?(un)?(signed)?\s*(float|int|short|double|long|long)\s*(long|double)?\s*([*]{0,2})$/,
+var isPrimitive = /^(const)?\s*?(un)?(signed)?\s*(float|int|short|double|long|long)\s*(long|double)?\s*(\d{0,2})$/,
```

Tested at http://regex101.com/#javascript